The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


ServerSocket Freezing !

Posted by Linden on August 14, 2001 at 9:52 AM

Hi im new to socket programming and I am programming a simple Server/Client programs to transfer IOStreams between. The trouble I am having though is When I call

ServerSocket serverSocket = new ServerSocket(port);

my program just freezes!! I heard this happens when u try make multiple connections to the same port but im sure this port is not open already on my system and nothing else is trying to connect to it. Please help !


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us