'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.