[JDEV] HELP!!!!

prasanta lenka pklenka at yahoo.com
Tue May 22 03:40:51 CDT 2001


The problem is, you are sending another HTTP request
on a new socket, 
which is wrong.

You are supposed to keep open the socket that you used
to transmit 
the initial data; and then, once you send & received
the HTTP stuff, 
you just treat it like a completly normal socket as
used for 
non-proxy Jabber communication.

To be more concret, after the initial connect, you
should *not* close 
the socket, and transmit the iq:auth over it, so just
send:

<iq type="set" id="01"><query
xmlns=\"jabber:iq:auth\"><username>xxx</username><password>xxx123</password><resource>rrr</resource></query></iq>


I'm not closing the socket.Also i have tried with the
above, But the same problem

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



More information about the JDev mailing list