Метод | Описание | |
---|---|---|
Initialize ( |
Initialize the socket subsystem.
|
|
SendMessage ( byte Message, |
Send a message to an arbitrary destination using the server's data socket.
|
|
SendMessage ( byte Message, sockaddr_in Destination ) : void |
Send a message to an arbitrary destination using the server's data socket.
|
Метод | Описание | |
---|---|---|
OnDatagramReceive ( |
This routine handles ALFA datagram protocol messages that have been received over the network.
|
|
OnLowLevelReceive ( |
Called when nwn2server receives a message from UDP. The routine decides if the message should be internally handled, and, if so, packages it up for managed handling. Otherwise, the original nwn2server handling is continued.
|
|
SetRecvfromCallout ( |
||
getsockname ( |
||
sendto ( |
public static Initialize ( |
||
Script | Supplies the main script object. | |
Результат | bool |
public static SendMessage ( byte Message, |
||
Message | byte | Supplies the bytes to send. |
Destination | Supplies the destination network address. /// | |
DestinationPort | int | Supplies the destination port. /// |
Результат | void |
public static SendMessage ( byte Message, sockaddr_in Destination ) : void | ||
Message | byte | Supplies the bytes to send. |
Destination | sockaddr_in | Supplies the destination address. |
Результат | void |