]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socket.h
Tidy up some of the internals a bit, making things a bit more extensible and future...
[user/henk/code/inspircd.git] / include / socket.h
index 105984f7483f4209413407925e585455e0510989..556ee1a9045a4495b868b88d22ac9426dd44cdcd 100644 (file)
@@ -202,7 +202,22 @@ class CoreExport ListenSocket : public EventHandler
        {
                return bind_addr;
        }
+
+       /** Handles sockets internals crap of a connection, convenience wrapper really
+        */
+       void AcceptInternal();
+
+       /** Called when a new connection has successfully been accepted on this listener.
+        * @param ipconnectedto The IP address the connection arrived on
+        * @param fd The file descriptor of the new connection
+        */
+       virtual void OnAcceptReady(const std::string &ipconnectedto, int fd);
 };
 
+//class CoreExport ListenSocketClient : public ListenSocket
+//{
+//
+//}
+
 #endif