Méthode | Description | |
---|---|---|
Bind ( int port, bool reuseAddress ) : bool | ||
Close ( ) : void | ||
NetSocket ( NetManager.OnMessageReceived onMessageReceived ) : System | ||
SendBroadcast ( Array data, int offset, int size, int port ) : bool | ||
SendTo ( Array data, int offset, int size, FlyingWormConsole3.LiteNetLib.NetEndPoint remoteEndPoint, int &errorCode ) : int |
Méthode | Description | |
---|---|---|
BindSocket ( Socket socket, IPEndPoint ep ) : bool | ||
CloseSocket ( Socket s ) : void | ||
NetSocket ( ) : System | ||
ReceiveLogic ( object state ) : void |
public Bind ( int port, bool reuseAddress ) : bool | ||
port | int | |
reuseAddress | bool | |
Résultat | bool |
public NetSocket ( NetManager.OnMessageReceived onMessageReceived ) : System | ||
onMessageReceived | NetManager.OnMessageReceived | |
Résultat | System |
public SendBroadcast ( Array data, int offset, int size, int port ) : bool | ||
data | Array | |
offset | int | |
size | int | |
port | int | |
Résultat | bool |
public SendTo ( Array data, int offset, int size, FlyingWormConsole3.LiteNetLib.NetEndPoint remoteEndPoint, int &errorCode ) : int | ||
data | Array | |
offset | int | |
size | int | |
remoteEndPoint | FlyingWormConsole3.LiteNetLib.NetEndPoint | |
errorCode | int | |
Résultat | int |