Method | 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 |
Method | Description | |
---|---|---|
OnPacketReceived ( IAsyncResult ar ) : void | ||
OnSent ( IAsyncResult ar ) : void |
public Connect ( |
||
localEndPoint | ||
return | void |
public Connect ( |
||
localEndPoint | ||
remoteEndPoint | ||
return | void |
public static GetLocalAddresses ( ) : IEnumerable |
||
return | IEnumerable |
public Read ( byte buffer, int bytesToRead ) : int | ||
buffer | byte | |
bytesToRead | int | |
return | int |
public WaitForOneMessage ( System.TimeSpan delay ) : |
||
delay | System.TimeSpan | |
return |
public Write ( byte buffer, int count ) : void | ||
buffer | byte | |
count | int | |
return | void |