posted 15 years ago
I am with Omar. First by UNIX "PORT", do you mean an IP port that you have specified thru your Socket object and opened? Or some Unix utility "PORT" command or shell script. Is the "PORT" a java or unix topic for you. Well if it is a Java IP Port you have opened thru a socket or serversocket then you probally have a procedural issue. I mean that you need to check and make sure your logic is not prematurely exiting your execution before what you want to finishe is done, there fore closing the connection (socket) on that IP Port on your machine, while you may still request more reads, and its closed already. Do you have the whole operational execution based in the socket object, or in some other method? Can you post more info?