X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fsocket.h;h=9d69b5d22cf8e70267e9764888bcb4e9bb26e035;hb=932748db6dd2a7225c9f12bc34339fcb2f37c319;hp=c292b7010b915262d3ad03920f39acdfecf39d81;hpb=f71e6bf9cb41811f18864f5d4eecb26e29d03f25;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/socket.h b/include/socket.h index c292b7010..9d69b5d22 100644 --- a/include/socket.h +++ b/include/socket.h @@ -150,16 +150,13 @@ class CoreExport ListenSocket : public EventHandler /** Create a new listening socket */ ListenSocket(ConfigTag* tag, const irc::sockets::sockaddrs& bind_to); - /** Handle an I/O event - */ - void HandleEvent(EventType et, int errornum = 0); /** Close the socket */ ~ListenSocket(); - /** Handles sockets internals crap of a connection, convenience wrapper really + /** Handles new connections, called by the socket engine */ - void AcceptInternal(); + void OnEventHandlerRead() CXX11_OVERRIDE; /** Inspects the bind block belonging to this socket to set the name of the IO hook * provider which this socket will use for incoming connections.