summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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)