ProtonNet Server 1.0
An Open Solution for all your socket or web api needs.
|
Represents the interface for a TCP client that can connect, disconnect, and send data over a network. More...
Additional Inherited Members | |
Public Member Functions inherited from XmobiTea.ProtonNetClient.IClient | |
bool | Connect () |
Connects the client to the server. | |
bool | Reconnect () |
Reconnects the client to the server. | |
bool | Disconnect () |
Disconnects the client from the server. | |
bool | ConnectAsync () |
Asynchronously connects the client to the server. | |
bool | ReconnectAsync () |
Asynchronously reconnects the client to the server. | |
bool | DisconnectAsync () |
Asynchronously disconnects the client from the server. | |
INetworkStatistics | GetNetworkStatistics () |
Retrieves the network statistics associated with the client. | |
int | Send (byte[] buffer) |
Sends data to the server. | |
int | Send (byte[] buffer, int position, int length) |
Sends data to the server starting from a specific position in the buffer. | |
bool | SendAsync (byte[] buffer) |
Asynchronously sends data to the server. | |
bool | SendAsync (byte[] buffer, int position, int length) |
Asynchronously sends data to the server starting from a specific position in the buffer. | |
Represents the interface for a TCP client that can connect, disconnect, and send data over a network.