Method | Description | |
---|---|---|
ListenOnPort ( int port, [ address = "127.0.0.1" ) : |
||
SocketInstance ( ScriptEngine parent, string address, int port ) : System |
Opens a TCP client and returns it to Sphere.
|
|
SocketInstance ( ScriptEngine parent, string address, int port, |
Wraps a TCP Client and returns it to Sphere.
|
Method | Description | |
---|---|---|
Close ( ) : void | ||
GetPendingReadSize ( ) : int | ||
IsConnected ( ) : bool | ||
Read ( int size ) : |
||
Write ( |
public static ListenOnPort ( int port, [ address = "127.0.0.1" ) : |
||
port | int | |
address | [ | |
return |
public SocketInstance ( ScriptEngine parent, string address, int port ) : System | ||
parent | ScriptEngine | The Parent Script Engine |
address | string | IPv4 Address |
port | int | The port top open |
return | System |
public SocketInstance ( ScriptEngine parent, string address, int port, |
||
parent | ScriptEngine | The Parent Script Engine |
address | string | IPv4 Address |
port | int | The port top open |
client | ||
return | System |