Optional
backlogOptional
closeClose server (stop listening for new connections) if connections exceed a limit. Open server (start listening for new connections) if connections fall below a limit.
Optional
dialOptions passed to net.connect
for every opened TCP socket
Optional
inboundAn optional number in ms that is used as an inactivity timeout after which the socket will be closed
Optional
listenOptions passed to every net.createServer
for every TCP server
Optional
maxSet this property to reject connections when the server's connection count gets high. https://nodejs.org/api/net.html#servermaxconnections
Optional
outboundAn optional number in ms that is used as an inactivity timeout after which the socket will be closed
Optional
socketWhen closing a socket, wait this long for it to close gracefully before it is closed more forcibly
Parameter to specify the maximum length of the queue of pending connections https://nodejs.org/dist/latest-v18.x/docs/api/net.html#serverlisten