I thought that would throw an exception when the TCP socket connection has been closed but I will admit I haven't tried it. I'll do some testing.The trouble with readinto() is that there's no way to tell if the other side has closed the TCP connection.
Statistics: Posted by hippy — Sat Jul 27, 2024 11:05 am