This UDP mode is called ‘catch all’.
The number for this UDP mode (to be used
with mnStartServer and mnGetUDPMode) is 3. C++ users can use the constant
UM_CATCH_ALL instead.
UDP mode UM_CATCH_ALL operates in a similar
way to TCP. All incoming packets are dealt with and none are dropped
by DarkNet (although packets can still be lost in transit).
When receiving normally (mnRecvUDP),
UDP packets are put into a queue and mnRecvUDP deals with each one individually
returning the number of packets in waiting. The client and operation
parameters of this command can be ignored.
There is no prefix added to UDP packets
in this mode which means that mnGetUDPClock will always return 0.
You do not need to add any extra data
to your packets as you did with the other two UDP modes.
When using this mode in server state you may occasionally receive DarkNet UDP connection packet which the client sends whilst connecting. These should be ignored and will always have a prefix of an unsigned integer of 0.