diff options
author | George Hazan <george.hazan@gmail.com> | 2024-06-13 18:03:26 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-06-13 18:03:26 +0300 |
commit | 3a4d5709c73fa0495138857f7bdb7a49e9e8a80a (patch) | |
tree | d29499ee8454a6c795475a18bf35cd7d09696885 /include | |
parent | 004f3d1f49c54bc62743a838161ac157ffc37e41 (diff) |
NETLIBBIND to be able to open UDP external ports
Diffstat (limited to 'include')
-rw-r--r-- | include/m_netlib.h | 1 |
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)
|