How To Send UDP Custom Messages

If you implement custom commands on Diarkis server, you may invoke those commands by sending custom commands. For UDP servers, you may choose between UDP and RUDP. The example below shows how to send a UDP message.

// ver = command version

// cmd = command ID

// payload = message
udp.Send(ver, cmd, payload);

Last updated