Discussion Locked
Simulate non-blocking I/O with timeouts
0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Use timeouts when reading sockets:
The March 3, Java TechMail discusses simulating non-blocking I/O with timeouts. Have you used the setSoTimeout method of the java.net.Socket class to simulate non-blocking I/O in Java versions prior to 1.4?