On 10/20/2010 01:21 AM, Francesc Oller wrote:
Please what I am doing wrong?

       Socket.bind(s, addr);


You need to tell the socket to listen after
binding it to the address. eg:

Socket.listen(s, 10);

       long ns = Socket.accept(s);



Regards
--
^TM

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to