Set max UDP packet size to 1024 again (seems some configuration DO have problems with larger packets after all)

This commit is contained in:
zicodxx 2011-01-09 14:19:00 +01:00
parent 3307f3da07
commit 38df3322e3
2 changed files with 6 additions and 1 deletions

View file

@ -1,9 +1,14 @@
D1X-Rebirth Changelog
20110109
--------
main/net_udp.h: Set max UDP packet size to 1024 again (seems some configuration DO have problems with larger packets after all)
20110106
--------
SConstruct, arch/ogl/gr.c, arch/ogl/ogl.c, include/loadgl.h, include/ogl_init.h, main/gamecntl.c, main/state.c, misc/args.c: Added OpenGL ES support - contributed by Florian Feucht and Oliver Haag
main/automap.c, main/gauges.c, main/gauges.h: Draw FlightSim Reticle on Automap display, too
arch/ogl/ogl.c: Fix small bug in vertex_array for ogl_ubitblt_i
20110104
--------

View file

@ -36,7 +36,7 @@ int net_udp_level_sync();
#define UDP_MDATA_STOR_QUEUE_SIZE 500 // Store up to 500 MDATA packets
// Following are static defines for the buffer size of various packets. IF you change the packets, you must change the size, too.
#define UPKT_MAX_SIZE 2048 // Max size for a packet
#define UPKT_MAX_SIZE 1024 // Max size for a packet
#define UPKT_GAME_INFO_REQ_SIZE 11
#define UPKT_SEQUENCE_SIZE 14
#define UPKT_PING_SIZE 37