 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
l |
Can be used to
tell the socket to use
|
|
|
non-blocking
read.
|
|
|
l |
getSoTimeout()
returns the current
|
|
|
setting (by
default 0, or disabled,
|
|
|
representing a
blocking read).
|
|
|
l |
E.g. to tell
socket to interrupt reading if
|
|
5 seconds pass
by, use:
|
|
|
|
mySocket.setSoTimeout(5000);
|
|