Operating System - HP-UX
1825703 Members
3446 Online
109686 Solutions
New Discussion

Re: Socket close in Java does not terminate pending read operations.

 
SOLVED
Go to solution
Patrick Volery
New Member

Socket close in Java does not terminate pending read operations.

I'm developing a server application that communicates over TCP/IP. On certain error conditions, the server closes the socket. I would expect pending reads on Socket InputStreams to terminate when the socket is closed. But nothing happens, the reads hang until the client application stopps.
I do experience this problem only, when the server is run on a HP JVM. On Windows everything works fine. Is that a bug of the HP JVM.
1 REPLY 1
Mike Stroyan
Honored Contributor
Solution

Re: Socket close in Java does not terminate pending read operations.