[JDEV] A report and a dumb question

Sivakumar siva_mrs at yahoo.com
Mon Oct 8 00:32:39 CDT 2001

Yes, John is correct. URLConnection sends http header along with the
message. You have to open a Socket and do all the communication using byte
stream. That will work.


Subject: Re: [JDEV] A report and a dumb question
From: John Draughn <jdraughn at kiorisoft.com>
To: jdev at jabber.org
Date: 06 Oct 2001 19:00:12 -0500
Reply-To: jdev at jabber.org

You can't use the URLConnection to connect to port 5222.  That's
expecting XML streams (see JPG), and http headers would be sent.


Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

More information about the JDev mailing list