Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Disposes the UDPAsyncServer instance
|
|
Send ( |
Sends a datagram
|
|
UDPAsyncServer ( |
Constructs a new UDPAsyncServer instance
|
Метод | Описание | |
---|---|---|
_disposeAll ( ) : void |
Disposes of all resources held by the UDPAsyncServer instance
|
|
_receiveComplete ( IAsyncResult result ) : void |
Called when an asynchronous receive operation completes
|
|
_receiveNext ( ) : IAsyncResult |
Begins receiving the next UDP datagram
|
|
_sendComplete ( IAsyncResult result ) : void |
Called when an asynchronous send operation completes
|
public Send ( |
||
ep | The IPEndPoint of the destination device | |
buffer | byte | The buffer containing the datagram to send |
length | int | The length of the datagram to send |
Результат | void |
public UDPAsyncServer ( |
||
ep | The IP endpoint to bind to | |
receiveDelegate | DatagramReceivedDelegate | Callback to user code whenever a datagram is received |
Результат | System |