summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-06-13 18:03:26 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-06-13 18:03:26 +0300
commit3a4d5709c73fa0495138857f7bdb7a49e9e8a80a (patch)
treed29499ee8454a6c795475a18bf35cd7d09696885 /include
parent004f3d1f49c54bc62743a838161ac157ffc37e41 (diff)
NETLIBBIND to be able to open UDP external ports
Diffstat (limited to 'include')
-rw-r--r--include/m_netlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/m_netlib.h b/include/m_netlib.h
index 5157c118e5..36f48ed67f 100644
--- a/include/m_netlib.h
+++ b/include/m_netlib.h
@@ -267,6 +267,7 @@ typedef void (*NETLIBNEWCONNECTIONPROC)(HNETLIBCONN hNewConnection, uint32_t dwR
struct NETLIBBIND
{
NETLIBNEWCONNECTIONPROC pfnNewConnection;
+ int iType; // SOCK_STREAM or 0 by default, SOCK_DGRAM, SOCK_RAW
// function to call when there's a new connection. Params are: the
// new connection, IP of remote machine (host byte order)