Property | Type | Description | |
---|---|---|---|
_client | Sockets.Plugin.TcpSocketClient |
Method | Description | |
---|---|---|
ConnectAsync ( string address, |
||
ConnectAsync ( string address, int port, |
||
ReadAsync ( byte buffer, int offset, int length, |
Receives data asynchronous.
|
|
ReadLineAsync ( |
Receives a line asynchronous.
|
|
TcpConnection ( bool useSsl ) : System |
Initializes a new instance of the TcpConnection class.
|
|
WriteAsync ( byte buffer, int offset, int length, |
Sends data asynchronous.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources.
|
public ConnectAsync ( string address, |
||
address | string | |
cancellationToken | ||
return | Task |
public ConnectAsync ( string address, int port, |
||
address | string | |
port | int | |
cancellationToken | ||
return | Task |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
public ReadAsync ( byte buffer, int offset, int length, |
||
buffer | byte | The buffer. |
offset | int | The offset. |
length | int | The length. |
cancellationToken | The cancellation token. | |
return | Task |
public ReadLineAsync ( |
||
cancellationToken | The cancellation token. | |
return | Task |
public TcpConnection ( bool useSsl ) : System | ||
useSsl | bool | if set to |
return | System |
public WriteAsync ( byte buffer, int offset, int length, |
||
buffer | byte | The buffer. |
offset | int | The offset. |
length | int | The length. |
cancellationToken | The cancellation token. | |
return | Task |