summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-04-15 23:45:12 +0200
committerAttila Molnar <attilamolnar@hush.com>2015-04-15 23:45:12 +0200
commitdad754237bf28b9cb7733f7607e128569897eb10 (patch)
treec1c4bc48209ba6ea0c67f2e825c82bb87e3d30ea /include/socket.h
parent37de78450964b42741dffa51329251cdef28119f (diff)
parenta42246b2f19d429a01fc901b7f49893764676499 (diff)
Merge branch 'master+ehdispatch'
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h7
1 files changed, 2 insertions, 5 deletions
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.