socket.connecting


如果为 truesocket.connect(options[, connectListener]) 被调用但还未结束。当发送 connect 事件或调用 socket.connect(options[, connectListener]) 的回调函数的时候会被设置为 false

If true, socket.connect(options[, connectListener]) was called and has not yet finished. It will stay true until the socket becomes connected, then it is set to false and the 'connect' event is emitted. Note that the socket.connect(options[, connectListener]) callback is a listener for the 'connect' event.