|
|
@ -201,7 +201,7 @@ already been bound to a port or domain socket. |
|
|
|
Listening on a file descriptor is not supported on Windows. |
|
|
|
|
|
|
|
This function is asynchronous. The last parameter `callback` will be added as |
|
|
|
a listener for the ['listening'](net.html#event_listening_) event. |
|
|
|
a listener for the ['listening'](net.html#net_event_listening) event. |
|
|
|
See also [net.Server.listen()](net.html#net_server_listen_handle_callback). |
|
|
|
|
|
|
|
### server.close([callback]) |
|
|
@ -1082,11 +1082,11 @@ authentication details. |
|
|
|
[http.request()]: #http_http_request_options_callback |
|
|
|
[net.Server.close()]: net.html#net_server_close_callback |
|
|
|
[net.Server.listen(path)]: net.html#net_server_listen_path_callback |
|
|
|
[net.Server.listen(port)]: net.html#net_server_listen_port_host_backlog_callback |
|
|
|
[response.end()]: #http_response_end_data_encoding |
|
|
|
[response.write()]: #http_response_write_chunk_encoding |
|
|
|
[net.Server.listen(port)]: net.html#net_server_listen_port_hostname_backlog_callback |
|
|
|
[response.end()]: #http_response_end_data_encoding_callback |
|
|
|
[response.write()]: #http_response_write_chunk_encoding_callback |
|
|
|
[response.writeContinue()]: #http_response_writecontinue |
|
|
|
[response.writeHead()]: #http_response_writehead_statuscode_reasonphrase_headers |
|
|
|
[response.writeHead()]: #http_response_writehead_statuscode_statusmessage_headers |
|
|
|
[socket.setKeepAlive()]: net.html#net_socket_setkeepalive_enable_initialdelay |
|
|
|
[socket.setNoDelay()]: net.html#net_socket_setnodelay_nodelay |
|
|
|
[socket.setTimeout()]: net.html#net_socket_settimeout_timeout_callback |
|
|
|