dplay_packetsize
Maximum size of an UDP network message packet, in bytes. The engine
collects messages in a buffer until they sum up to the given size,
then they are sent together in a single packet.
Range:
0 .. 1024, default
256
Type:
var
Remarks:
The message buffer is sent at least once per frame, regardless of whether the packet size is reached. At a packet size of 0, messages are not buffered but sent straight away. The bigger the packet size, the less packets are sent per frame, but the slower they travel over the net. The packet size should be less than 1024 bytes, because routers or other equipment on the internet often delay or even drop larger UDP packets.
Example:
dplay_packetsize = 128;
See also:
dplay_timeout
► latest
version online