Method | Description | |
---|---|---|
GetHost ( ) : string | ||
GetPort ( ) : int | ||
PacketDatagramServer ( OnDatagramDelegate pkt ) : System | ||
Send ( byte data, int offset, int length, ulong endpoint ) : void | ||
Start ( int port, int max_peers = 100 ) : void |
Method | Description | |
---|---|---|
NextRead ( ) : void | ||
ReadLoop ( ) : void |
public PacketDatagramServer ( OnDatagramDelegate pkt ) : System | ||
pkt | OnDatagramDelegate | |
return | System |
public Send ( byte data, int offset, int length, ulong endpoint ) : void | ||
data | byte | |
offset | int | |
length | int | |
endpoint | ulong | |
return | void |
public Start ( int port, int max_peers = 100 ) : void | ||
port | int | |
max_peers | int | |
return | void |