Class NetSocketTcpUtils
Inheritance
NetSocketTcpUtils
Assembly: Xareus.Scenarios.Network.dll
Syntax
public static class NetSocketTcpUtils
Fields
DATA_END
Declaration
public static readonly string DATA_END
Field Value
DISCONNECT_COMMAND
Declaration
public static readonly string DISCONNECT_COMMAND
Field Value
GETSCENARIOLIST_COMMAND
Declaration
public static readonly string GETSCENARIOLIST_COMMAND
Field Value
GETSCENARIOSTATE_COMMAND
Declaration
public static readonly string GETSCENARIOSTATE_COMMAND
Field Value
GETSCENARIO_COMMAND
Declaration
public static readonly string GETSCENARIO_COMMAND
Field Value
REGISTERTOSCENARIO_COMMAND
Declaration
public static readonly string REGISTERTOSCENARIO_COMMAND
Field Value
REMOTE_PREFIX
Declaration
public static readonly string REMOTE_PREFIX
Field Value
Methods
LoopReceive(INetSocketTcp, Action<TcpClient, string>, TcpClient)
Start reception of data. When data is received, a new reception is automatically started
Declaration
public static void LoopReceive(INetSocketTcp netSocket, Action<TcpClient, string> dataHandler, TcpClient client)
Parameters
Send(List<Socket>, string, Action<IAsyncResult>)
Declaration
public static void Send(List<Socket> handlers, string data, Action<IAsyncResult> sendCallback)
Parameters
Send(Socket, string, Action<IAsyncResult>)
Declaration
public static void Send(Socket handler, string data, Action<IAsyncResult> sendCallback)
Parameters