Méthode | Description | |
---|---|---|
Close ( ) : void | ||
Connect ( |
Connect to any remote machine that wants to send to the given local port.
|
|
Connect ( |
Connect to specific remote end point and only send and receive from that endpoint.
|
|
GetLocalAddresses ( ) : IEnumerable |
||
Read ( byte buffer, int bytesToRead ) : int | ||
WaitForOneMessage ( System.TimeSpan delay ) : |
||
Write ( byte buffer, int count ) : void | ||
Write ( string msg ) : void |
Méthode | Description | |
---|---|---|
OnPacketReceived ( IAsyncResult ar ) : void | ||
OnSent ( IAsyncResult ar ) : void |
public Connect ( |
||
localEndPoint | ||
Résultat | void |
public Connect ( |
||
localEndPoint | ||
remoteEndPoint | ||
Résultat | void |
public static GetLocalAddresses ( ) : IEnumerable |
||
Résultat | IEnumerable |
public Read ( byte buffer, int bytesToRead ) : int | ||
buffer | byte | |
bytesToRead | int | |
Résultat | int |
public WaitForOneMessage ( System.TimeSpan delay ) : |
||
delay | System.TimeSpan | |
Résultat |
public Write ( byte buffer, int count ) : void | ||
buffer | byte | |
count | int | |
Résultat | void |