]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socket.h
DO NOT USE THIS COMMIT - if you do, most of the modules wont work.
[user/henk/code/inspircd.git] / include / socket.h
index eebc172cfb2414a657db6365b73763c4baf59507..4e7d8919252b51c84c61a26c78d4382ad14af913 100644 (file)
@@ -136,7 +136,7 @@ namespace irc
                 * or a negative value upon failure (negative values are invalid file
                 * descriptors)
                 */
-               int OpenTCPSocket(char* addr);
+               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
         */