Méthode | Description | |
---|---|---|
Close ( ) : void | ||
Connect ( |
||
Dispose ( ) : void | ||
GetStream ( ) : Stream | ||
Receive ( byte buffer, int offset, SocketFlags socketFlags ) : int | ||
ReceiveAsync ( byte buffer, int offset, int size, SocketFlags socketFlags, |
||
Reconnect ( ) : void | ||
Send ( byte buffer, int offset, int size, SocketFlags socketFlags ) : int | ||
TcpSocket ( ) : Mono.Unix |
Initializes a new instance of the TcpSocket class.
|
Méthode | Description | |
---|---|---|
CreateSocket ( |
Creates a new, uninitialized socket which can connect to an ADB server.
|
public Connect ( |
||
endPoint | ||
Résultat | void |
public Receive ( byte buffer, int offset, SocketFlags socketFlags ) : int | ||
buffer | byte | |
offset | int | |
socketFlags | SocketFlags | |
Résultat | int |
public ReceiveAsync ( byte buffer, int offset, int size, SocketFlags socketFlags, |
||
buffer | byte | |
offset | int | |
size | int | |
socketFlags | SocketFlags | |
cancellationToken | ||
Résultat | Task |
public Send ( byte buffer, int offset, int size, SocketFlags socketFlags ) : int | ||
buffer | byte | |
offset | int | |
size | int | |
socketFlags | SocketFlags | |
Résultat | int |