Property | Type | Description | |
---|---|---|---|
DefaultPort | int |
Method | Description | |
---|---|---|
Connect ( TransportCallback callback ) : void | ||
Disconnect ( ) : void | ||
Disconnect ( |
||
Receive ( byte buffer, int offset, int size ) : int | ||
Send ( byte buffer, int offset, int size ) : int | ||
TcpTransport ( |
||
ToString ( ) : string |
Method | Description | |
---|---|---|
OnConnected ( IAsyncResult result ) : void | ||
TcpTransport ( Socket socket ) : System |
public Connect ( TransportCallback callback ) : void | ||
callback | TransportCallback | |
return | void |
public Disconnect ( |
||
ex | ||
return | void |
public Receive ( byte buffer, int offset, int size ) : int | ||
buffer | byte | |
offset | int | |
size | int | |
return | int |
public Send ( byte buffer, int offset, int size ) : int | ||
buffer | byte | |
offset | int | |
size | int | |
return | int |
public TcpTransport ( |
||
address | ||
port | int | |
connectionType | ulong | |
return | System |