Method | Description | |
---|---|---|
SendTo ( |
send to...
|
|
Start ( ) : void |
start
|
|
Stop ( ) : void |
stop
|
|
UdpServer ( int port, IUdpProtocol protocol, IUdpServerHandler handler ) : System |
new
|
|
UdpServer ( int port, int messageBufferSize, int receiveThreads, IUdpProtocol protocol, IUdpServerHandler handler ) : System |
new
|
Method | Description | |
---|---|---|
Free ( bool disposing ) : void |
free
|
Method | Description | |
---|---|---|
BeginReceive ( |
异步接收数据
|
|
ReceiveCompleted ( object sender, |
completed handle
|
public SendTo ( |
||
endPoint | ||
payload | byte | |
return | void |
public UdpServer ( int port, IUdpProtocol protocol, IUdpServerHandler handler ) : System | ||
port | int | |
protocol | IUdpProtocol | |
handler | IUdpServerHandler | |
return | System |
public UdpServer ( int port, int messageBufferSize, int receiveThreads, IUdpProtocol protocol, IUdpServerHandler handler ) : System | ||
port | int | |
messageBufferSize | int | |
receiveThreads | int | |
protocol | IUdpProtocol | |
handler | IUdpServerHandler | |
return | System |