WebCola
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Address
Info
Bind
Options
Remote
Info
Socket
Socket
Options
create
Socket
Index
Interfaces
Address
Info
Bind
Options
Remote
Info
Socket
Socket
Options
Functions
create
Socket
Functions
create
Socket
create
Socket
(
type
:
string
, callback
?:
function
)
:
Socket
create
Socket
(
options
:
SocketOptions
, callback
?:
function
)
:
Socket
Parameters
type:
string
Optional
callback:
function
(
msg
:
Buffer
, rinfo
:
RemoteInfo
)
:
void
Parameters
msg:
Buffer
rinfo:
RemoteInfo
Returns
void
Returns
Socket
Parameters
options:
SocketOptions
Optional
callback:
function
(
msg
:
Buffer
, rinfo
:
RemoteInfo
)
:
void
Parameters
msg:
Buffer
rinfo:
RemoteInfo
Returns
void
Returns
Socket
Generated using
TypeDoc