Re: [jdev] Talk To Jabber Server Using Sockets

2008-11-10 Thread Remko Tronçon
 Maybe consider using a different language than C++

I understand this is no option, looking at the other posts you sent.
In that case, I suggest you take a tutorial on setting up and using
Microsoft Visual C++, maybe read some books on the topic. That, or
switch to Linux, where 'gcc' and 'make' work out of the box.

cheers,
Remko
___
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [EMAIL PROTECTED]
___


Re: [jdev] Talk To Jabber Server Using Sockets

2008-11-10 Thread Jonathan Schleifer

Am 10.11.2008 um 07:57 schrieb Jonathan Dickinson:

Lol, careful about making statements like that on a public mailing  
list (although I can sympathise, the build scenario on Linux chased  
me back to Windows).


Huh? For me, it was the other way around. Windows buildsystems chased  
me to crosscompiling win32 binaries (like GTK for Win32, which we need  
for Gajim on Win32) on Linux, as even cross compiling is far more  
easier than setting up a build environment on Windows. I neither  
succeeded with Microsoft Interix nor Cygwin.


About the topic: If you can't even compile an XMPP lib, I doubt you  
can handle SSL, XML Parsing etc (all the stuff you need to connect to  
an XMPP server) on your own…


--
Jonathan



PGP.sig
Description: This is a digitally signed message part
___
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [EMAIL PROTECTED]
___


Re: [jdev] Talk To Jabber Server Using Sockets

2008-11-10 Thread Remko Tronçon
 Unlike the world of unix/ linux if one clicks on an installer in
 windows everything works.

Which clearly shows by the amount of hours you lost so far in trying
to get something compiling on Windows which works out of the box on
Unix-based platforms.

 I am thinking of writing a quick xmpp client myself ...

Given the type of questions you have, I would strongly encourage
trying out an existing library first to get some basic understanding
of networking and XMPP in general. Maybe consider using a different
language than C++, one that is easier to get working on Windows (which
is a hard platform to do C++-based development on, especially when
using external libraries)

cheers,
Remko
___
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [EMAIL PROTECTED]
___


Re: [jdev] Talk To Jabber Server Using Sockets

2008-11-10 Thread Alexey Nezhdanov
On Monday 10 November 2008 08:49:14 ashiraz wrote:
 Sir you know quite well that  I have wasted a great deal of my precious
 time on libstrophe to no avail. it does not compile with / without
 scons. even scons does not install properly.
... and ...
 Unlike the world of unix/ linux if one clicks on an installer in
 windows everything works. My other programs in c/c++ work, my embedded
 projects work. I do not have to write assembly and install fifteen
 disparate libraries and learn another 15 different construction tools
 just to get something simple to work.

This is certainly sounds like an aggressive complaint. You came here for help 
and while there are people that are trying to help you are making claims like 
that. Don't you feel ashamed of this?

Nobody here owns you anything so calm down.
You have been already given with several good advices of what to do. I 
recommend you re-reading them.

-- 
Sincerely yours
Alexey Nezhdanov
___
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [EMAIL PROTECTED]
___


[jdev] How to do SASL authentication in C/C++

2008-11-10 Thread ashiraz

I have started to write socket level code for interaction with a jabber
server like gtalk.

I am sending this thing xml strings but in the authentication phase it
requires SASL encryption. Is there an expeditious way of encrypting
authentication code?


-- 
ashiraz

ashiraz's Profile: http://www.jabberforum.org/member.php?userid=17305
View this thread: http://www.jabberforum.org/showthread.php?t=1061

___
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [EMAIL PROTECTED]
___


Re: [jdev] How to do SASL authentication in C/C++

2008-11-10 Thread Justin Karneges
On Monday 10 November 2008 21:39:06 ashiraz wrote:
 I have started to write socket level code for interaction with a jabber
 server like gtalk.

 I am sending this thing xml strings but in the authentication phase it
 requires SASL encryption. Is there an expeditious way of encrypting
 authentication code?

It's common to use libraries for SASL, but we've already had a discussion 
about libraries.  That said, it's also very common to not use libraries for 
SASL.  Lots of people write their own code for one reason or another.

You need to decide what mechanisms to implement.  Probably you'd do PLAIN 
and/or DIGEST-MD5.  Consult the RFCs.  You should only do PLAIN if you plan 
to protect the stream with TLS.

Long ago, somebody wrote the smallest tutorial ever for DIGEST-MD5, and it's 
even written in the context of XMPP:
http://web.archive.org/web/20050224191820/http://cataclysm.cx/wip/digest-md5-crash.html

-Justin
___
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [EMAIL PROTECTED]
___