Emitted once the socket is fully closed.
Emitted when a socket connection is successfully established.
Emitted when a new connection attempt is started. May be emitted multiple times if family autoselection is enabled.
Emitted when a connection attempt failed. May be emitted multiple times if family autoselection is enabled.
Emitted when a connection attempt timed out. May be emitted multiple times if family autoselection is enabled.
Emitted when an error occurs on the socket.
Emitted after resolving the host name but before connecting.
Emitted when a socket is ready to be used. Triggered immediately after 'connect'.
Emitted if the socket times out from inactivity. The connection is not automatically severed.
Event map for TcpClient socket-specific events.