X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fsocket.h;h=7ff40794c7928574f6e15af9555164466d461297;hb=287e4973e009755c771add3e3995392b1612c425;hp=861acc1f10c8fb8e5b9d04c508f65dea5e4af369;hpb=d0d36795e807cf72295c6e73813e0c2daa0a71e7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/socket.h b/include/socket.h index 861acc1f1..7ff40794c 100644 --- a/include/socket.h +++ b/include/socket.h @@ -2,7 +2,7 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2007 InspIRCd Development Team + * InspIRCd: (C) 2002-2008 InspIRCd Development Team * See: http://www.inspircd.org/wiki/index.php/Credits * * This program is free but copyrighted software; see @@ -34,7 +34,6 @@ #endif #include -#include "inspircd_config.h" #include "socketengine.h" /* Contains irc-specific definitions */ @@ -141,7 +140,7 @@ namespace irc } /** This class handles incoming connections on client ports. - * It will create a new userrec for every valid connection + * It will create a new User for every valid connection * and assign it a file descriptor. */ class CoreExport ListenSocket : public EventHandler @@ -158,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 */