Once a socket is associated with the message and is connected, socket.setTimeout() will be called with msecs as the first parameter.
socket.setTimeout()
msecs
Optional
Optional function to be called when a timeout occurs. Same as binding to the timeout event.
timeout
v0.9.12
Once a socket is associated with the message and is connected,
socket.setTimeout()
will be called withmsecs
as the first parameter.