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. Will be set to true before emitting 'connect' event and/or calling socket.connect(options[, connectListener])'s callback.