tls_server.listen()

server.listen(port[, hostname][, callback])

Begin accepting connections on the specified port and hostname. If the hostname is omitted, the server will accept connections on any IPv6 address (::) when IPv6 is available, or any IPv4 address (0.0.0.0) otherwise. A port value of zero will assign a random port.

This function is asynchronous. The last parameter callback will be called when the server has been bound.

See net.Server for more information.

doc_Nodejs
2016-04-30 04:42:46
Comments
Leave a Comment

Please login to continue.