SendConnectionlessPacket
number gameserver.SendConnectionlessPacket( bf_write bf, string ip, boolean useDNS, number socket = NS_SERVER )
Description
Sends out a connectionless packet to the target ip.
See HolyLib:ProcessConnectionlessPacket for examples.
It's expected that YOU already added the connectionless header, this was done to not have to copy the buffer.
bf:WriteLong(-1) -- Write this as the first thing. This is the CONNECTIONLESS_HEADER
Arguments
Returns
Example
Example on how to send a loopback packet