socket

Contents

Name Description
bind( where )

Bind a socket to a network interface

close( )

no short description provided

connect( endpoint )

Connects a socket to another

fd

The opaque socket descriptor for this socket.

receive( callback )

no short description provided

send( callback )

Sends some message to the other side of a connected or bound socket


bind( string where )

Bind a socket to a network interface

Parameters

Defined at shared/lua_api/load_net.cpp:462


close( )

no short description provided

Defined at shared/lua_api/load_net.cpp:576


connect( string endpoint )

Connects a socket to another

Parameters

Defined at shared/lua_api/load_net.cpp:492


fd


receive( function callback )

no short description provided

Parameters

Defined at shared/lua_api/load_net.cpp:549


send( function callback )

Sends some message to the other side of a connected or bound socket

Parameters

Defined at shared/lua_api/load_net.cpp:513