v5.0.0
- Method
setTimeoutsets an event handler that destroys a socket with
TimeoutError. The handler is removed if timeout is equal0.
setTimeout sets an event handler that destroys a socket withTimeoutError. The handler is removed if timeout is equal 0.