[JDEV] jabber initial problems.

Maciek BOROWKA mborowka at ifaedi.insa-lyon.fr
Mon Apr 30 10:21:40 CDT 2001


Try using single ' instead of double " .

/MAciek

On Mon, 30 Apr 2001, Narahari,  Sateesh wrote:

> 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
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 





More information about the JDev mailing list