Server IP Address
Server IP Address
Connect Options
Connect Options
Listener Options
Listener Options
net - The net module provides you with an asynchronous network wrapper.
net - The net module provides you with an asynchronous network wrapper. It contains functions for creating both servers and clients (called streams).
https://nodejs.org/api/net.html
net.Server - This class is used to create a TCP or local server.
net.Server - This class is used to create a TCP or local server.
https://nodejs.org/api/net.html#net_class_net_server
net.Server Events
Server Options
Server Options
net.Socket - This object is an abstraction of a TCP or local socket.
net.Socket - This object is an abstraction of a TCP or local socket. net.Socket instances implement a duplex Stream interface. They can be created by the user and used as a client (with connect()) or they can be created by Node.js and passed to the user through the 'connection' event of a server.
net.Socket Extensions
Socket Options
Socket Options
net package object