[JDEV] jabber initial problems.

Narahari, Sateesh Sateesh_Narahari at jdedwards.com
Mon Apr 30 09:57:58 CDT 2001


Folks,

 I am trying to write a simple jabber client in C++ using winsock. When I
send the first stream, jabber replies. Here is the conversation :

SENT: <?xml version="1.0" ?> <stream:stream to="jabber.com"
xmlns="jabber:client
" xmlns:stream="http://etherx.jabber.org/streams"/>

RECV: <?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org
/streams' id='3AED7F0C' xmlns='jabber:client' from='jabber.com'>

Immediately after this, I discover my connection goes to CLOSE_WAIT from
ESTABLISHED. And get a response </stream:stream> from  jabber. And the
connection gets closed.

I am sending stream to jabber.com.

Any thoughts?.

Sateesh




More information about the JDev mailing list