From 3a4d5709c73fa0495138857f7bdb7a49e9e8a80a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 13 Jun 2024 18:03:26 +0300 Subject: NETLIBBIND to be able to open UDP external ports --- include/m_netlib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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) -- cgit v1.2.3