aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVictor Bombi <sonoro@telefonica.net>2025-11-14 13:11:52 +0100
committerGitHub <noreply@github.com>2025-11-14 15:11:52 +0300
commite13de2013749961edaa126697f3290d3dca91823 (patch)
tree8937060b5b00f3a10c6b0e7d58018b17c662d19c /src
parent4844a48fbf76b0400fd7b7e4d15d244484019df1 (diff)
downloadluasocket-master.tar.gz
luasocket-master.tar.bz2
luasocket-master.zip
feat(udp): Allow changing UDP_DATAGRAMSIZE at compile time (#452)HEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/udp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/udp.h b/src/udp.h
index 07d5247..cc14619 100644
--- a/src/udp.h
+++ b/src/udp.h
@@ -17,7 +17,9 @@
17#include "timeout.h" 17#include "timeout.h"
18#include "socket.h" 18#include "socket.h"
19 19
20#ifndef UDP_DATAGRAMSIZE
20#define UDP_DATAGRAMSIZE 8192 21#define UDP_DATAGRAMSIZE 8192
22#endif
21 23
22typedef struct t_udp_ { 24typedef struct t_udp_ {
23 t_socket sock; 25 t_socket sock;