new net.Server([options][, connectionListener])
-
options
<Object> 参见net.createServer([options][, connectionListener])
。¥
options
<Object> Seenet.createServer([options][, connectionListener])
. -
connectionListener
<Function> 自动设置为'connection'
事件的监听器。¥
connectionListener
<Function> Automatically set as a listener for the'connection'
event. -
返回:<net.Server>
¥Returns: <net.Server>
net.Server
是具有以下事件的 EventEmitter
:
¥net.Server
is an EventEmitter
with the following events: