fixed and improved ui
This commit is contained in:
@@ -58,6 +58,11 @@ public:
|
||||
/** Default maximum UDP payload size (bytes, EXCLUDING the 17-byte header). */
|
||||
static const uint32 UDPS_SERVER_DEFAULT_MAX_PAYLOAD = 1400u;
|
||||
|
||||
/** Largest legal UDP payload: IPv4 datagrams cap at 65507 bytes, of which
|
||||
* 17 are the UDPS header. A larger MaxPayloadSize makes every sendto fail
|
||||
* with EMSGSIZE, so the configured value is clamped to this. */
|
||||
static const uint32 UDPS_SERVER_MAX_UDP_PAYLOAD = 65507u - UDPS_HEADER_SIZE;
|
||||
|
||||
UDPSServer();
|
||||
~UDPSServer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user