事件:'connect'


【Event: 'connect'

在成功的 connect() 调用后,当一个套接字被关联到远程地址时,会触发 'connect' 事件。

【The 'connect' event is emitted after a socket is associated to a remote address as a result of a successful connect() call.】