Interfaces
Properties
SP Socket: module:net.SocketType
Methods
SM connect(options: module:net.ConnectOptionsType, connectionListener: function) net.Socket
Parameters:
Name | Type | Argument |
---|---|---|
options |
module:net.ConnectOptionsType | |
connectionListener |
function |
<optional> |
SM connect(port: number, host: string, connectionListener: function) net.Socket
Parameters:
Name | Type | Argument |
---|---|---|
port |
number | |
host |
string |
<optional> |
connectionListener |
function |
<optional> |
SM connect(path: string, connectionListener: function) net.Socket
Parameters:
Name | Type | Argument |
---|---|---|
path |
string | |
connectionListener |
function |
<optional> |
SM createConnection(options: module:net.CreateConnectionOptionsType, connectionListener: function) net.Socket
Parameters:
Name | Type | Argument |
---|---|---|
options |
module:net.CreateConnectionOptionsType | |
connectionListener |
function |
<optional> |
SM createConnection(port: number, host: string, connectionListener: function) net.Socket
Parameters:
Name | Type | Argument |
---|---|---|
port |
number | |
host |
string |
<optional> |
connectionListener |
function |
<optional> |
SM createConnection(path: string, connectionListener: function) net.Socket
Parameters:
Name | Type | Argument |
---|---|---|
path |
string | |
connectionListener |
function |
<optional> |
SM createServer(connectionListener: module:net.CreateServerConnectionListenerCallback) net.Server
Parameters:
Name | Type | Argument |
---|---|---|
connectionListener |
module:net.CreateServerConnectionListenerCallback |
<optional> |
SM createServer(options: module:net.CreateServerOptionsType, connectionListener: module:net.CreateServerConnectionListenerCallback) net.Server
Parameters:
Name | Type | Argument |
---|---|---|
options |
module:net.CreateServerOptionsType |
<optional> |
connectionListener |
module:net.CreateServerConnectionListenerCallback |
<optional> |