Sets the specified datagram socket, server socket or socket timeout value to the given number of milliseconds.
Syntax
setSocketTimeout( isocket , timeout )
isocket.setSocketTimeout( timeout )
Parameters
isocket
|
the datagram socket, server socket or socket object to use.
|
timeout
|
the number of milliseconds until timeout.
0 is for infinite timeout.
|
Returns
Example
socket.setSocketTimeout( timeout )
|