listen
listen(opts): Server
Creates a TCP server bound to the specified port number.
Parameters
| Parameter | Type | Description | 
|---|---|---|
| opts | ListenOptions | Object containing the port number and other configuration properties. | 
listen(opts): Server
Creates a TCP server bound to the specified port number.
| Parameter | Type | Description | 
|---|---|---|
| opts | ListenOptions | Object containing the port number and other configuration properties. |