B
bob smith
I have a java.net.Socket that I only write to, and I can't figure out how to tell if it's disconnected.
I call socket.isConnected(), but it still returns true after I broke the TCP connection. I had telnetted in thru Windows telnet and closed the window.
Anyone know how to detect the disconnect?
I call socket.isConnected(), but it still returns true after I broke the TCP connection. I had telnetted in thru Windows telnet and closed the window.
Anyone know how to detect the disconnect?