Свойство | Тип | Описание | |
---|---|---|---|
remoteEndPoint |
Метод | Описание | |
---|---|---|
AsyncBeginSend ( UDPPacketBuffer buf ) : void | ||
Start ( ) : void |
|
|
Stop ( ) : void |
|
|
UDPBase ( |
Initialize the UDP packet handler in client mode
|
|
UDPBase ( int port ) : System |
Initialize the UDP packet handler in server mode
|
Метод | Описание | |
---|---|---|
PacketReceived ( UDPPacketBuffer buffer ) : void | ||
PacketSent ( UDPPacketBuffer buffer, int bytesSent ) : void |
Метод | Описание | |
---|---|---|
AsyncBeginReceive ( ) : void | ||
AsyncEndReceive ( IAsyncResult iar ) : void | ||
AsyncEndSend ( IAsyncResult iar ) : void |
public AsyncBeginSend ( UDPPacketBuffer buf ) : void | ||
buf | UDPPacketBuffer | |
Результат | void |
protected abstract PacketReceived ( UDPPacketBuffer buffer ) : void | ||
buffer | UDPPacketBuffer | |
Результат | void |
protected abstract PacketSent ( UDPPacketBuffer buffer, int bytesSent ) : void | ||
buffer | UDPPacketBuffer | |
bytesSent | int | |
Результат | void |
public UDPBase ( |
||
endPoint | Remote UDP server to connect to | |
Результат | System |
public UDPBase ( int port ) : System | ||
port | int | Port to listening for incoming UDP packets on |
Результат | System |