Network core of Diarkis client class.
More...
|
|
static string | GetVersion () |
| |
|
| const int | CONN_TIMEOUT = -1 |
| | Status of OnConnect event. This status indicates the connection has timedout. More...
|
| |
| const int | CONN_ERR = -2 |
| | Status of OnConnect event. This status indicates the failure of opening a TCP socket. More...
|
| |
| const int | CONN_SUCCESS = 0 |
| | Status of OnConnect event. This status indicates the connection has been successfully established. More...
|
| |
|
|
void | NewTCP (string addr, int port) |
| |
|
void | NewTCPDualMode (string addr, int port) |
| |
|
void | ConnectTCP (string addr, int port) |
| |
|
void | CloseTCP () |
| |
|
NetworkStream | GetTCPStream () |
| |
|
void | SetTCPNoDelay (bool noDelay) |
| |
|
bool | IsTCPConnected () |
| |
|
int | GetTCPAvailable () |
| |
|
void | ConnectUDP (string addr, int port) |
| |
|
void | ConnectUDPDualMode (string addr, int port) |
| |
|
void | CloseUDP () |
| |
|
bool | IsUDPConnected () |
| |
|
bool | UDPPolling (int pollingTime) |
| |
|
int | GetUDPAvailable () |
| |
|
string | FindLocalAddress (IPAddress ip) |
| |
|
int | UDPRcvFrom (byte[] buff, ref EndPoint ep) |
| |
|
void | SendUDP (byte[] msg, int length) |
| |
|
void | SendUDPTo (byte[] msg, int length, IPEndPoint ip) |
| |
|
IPEndPoint | GetRemoteIP () |
| |
|
EndPoint | GetConnetedUDPEndPoint () |
| |
|
IPAddress | GetIPAddress_ (string addr, int port) |
| |
|
virtual void | Dispose (bool disposing) |
| |
Network core of Diarkis client class.
◆ CONN_ERR
| const int Diarkis.Core.CONN_ERR = -2 |
|
static |
Status of OnConnect event. This status indicates the failure of opening a TCP socket.
◆ CONN_SUCCESS
| const int Diarkis.Core.CONN_SUCCESS = 0 |
|
static |
Status of OnConnect event. This status indicates the connection has been successfully established.
◆ CONN_TIMEOUT
| const int Diarkis.Core.CONN_TIMEOUT = -1 |
|
static |
Status of OnConnect event. This status indicates the connection has timedout.
The documentation for this class was generated from the following file: