Method | Description | |
---|---|---|
Bind ( int port ) : bool | ||
Close ( ) : void | ||
NetSocket ( |
||
SendBroadcast ( byte data, int offset, int size, int port ) : bool | ||
SendTo ( byte data, int offset, int size, |
Method | Description | |
---|---|---|
BindSocket ( Socket socket, |
||
ClearPeers ( ) : void | ||
OnMessageReceived ( DatagramSocket sender, DatagramSocketMessageReceivedEventArgs args ) : void | ||
ReceiveLogic ( object state ) : void | ||
RemovePeer ( |
public NetSocket ( |
||
onMessageReceived | ||
return | System |
public SendBroadcast ( byte data, int offset, int size, int port ) : bool | ||
data | byte | |
offset | int | |
size | int | |
port | int | |
return | bool |
public SendTo ( byte data, int offset, int size, |
||
data | byte | |
offset | int | |
size | int | |
remoteEndPoint | ||
errorCode | int | |
return | int |