]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socket.h
Add HiroP to contributors for being such a helpful little gubbins ;>. Congradulations. :)
[user/henk/code/inspircd.git] / include / socket.h
index 1e6ca56a2b4b23ac4634753a6efc0d05133d3dfb..4e7d8919252b51c84c61a26c78d4382ad14af913 100644 (file)
@@ -136,7 +136,7 @@ namespace irc
                 * or a negative value upon failure (negative values are invalid file
                 * descriptors)
                 */
-               int OpenTCPSocket(); 
+               int OpenTCPSocket(char* addr, int socktype = SOCK_STREAM);
        };
 };
 
@@ -151,6 +151,7 @@ class ListenSocket : public EventHandler
         */
        InspIRCd* ServerInstance;
        std::string desc;
+       int family;
  public:
        /** Create a new listening socket
         */