프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_client | Sockets.Plugin.TcpSocketClient |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources.
|
public ConnectAsync ( string address, |
||
address | string | |
cancellationToken | ||
리턴 | Task |
public ConnectAsync ( string address, int port, |
||
address | string | |
port | int | |
cancellationToken | ||
리턴 | Task |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
리턴 | 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. | |
리턴 | Task |
public ReadLineAsync ( |
||
cancellationToken | The cancellation token. | |
리턴 | Task |
public TcpConnection ( bool useSsl ) : System | ||
useSsl | bool | if set to |
리턴 | 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. | |
리턴 | Task |