summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-07 16:18:32 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-07 16:18:32 +0000
commit18310fc8b7dbb0dcda3f0fa10d2b37e2b1457c10 (patch)
treea1129d1cff5ff02d2b4f16dd539f836ca0d66f05 /include/socket.h
parentc1c6d3f447185e3b4e90d0bfe379dddcd78253a5 (diff)
We were lucky this one didnt bring down the whole devnet (see cmd_part.cpp diff)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9400 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/socket.h b/include/socket.h
index 53bad88f0..7ff40794c 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -157,6 +157,15 @@ class CoreExport ListenSocket : public EventHandler
std::string bind_addr;
/** Port socket is bound to */
int bind_port;
+
+ static sockaddr *sock_us;
+
+ static sockaddr *client;
+
+ static sockaddr *raddr;
+
+ static unsigned int socketcount;
+
public:
/** Create a new listening socket
*/