[JDEV] need help

Vinit Mokal vmokal at ebusinessdesign.com
Mon Oct 2 15:02:19 CDT 2000

hi ,
Greetings of the day!!!
we are working on the making a jabber client using java.
We use socket to open connection on specific port. using syntax
as follows
 Sockect s1 = new Socket("jabber.com",5222);

further down i Send the opening string 

<?xml version="1.0" encoding="UTF-8" ?>
 <stream:stream to="jabber.com" xmlns="jabber:client"

it sends me the following XML srting back
Text received :<?xml version='1.0'?><stream:stream
abber.org/streams' id='39D8D7E0'><stream:error>This server is not the one in
r to attribute.</stream:error></stream:stream>

where do u think i am going wrong 
is there a another server name i should be using it

I would really appreciate if u could help me on this one.


More information about the JDev mailing list