]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspsocket.h
Reduce size of max number of bytes in a bitfield from a 4 or 8 byte field to a 1...
[user/henk/code/inspircd.git] / include / inspsocket.h
index 31f147ab8ba821eddb3067c83eb083bbac9f4bb1..71f16951ec4ed02a59ded8c79f530dcc14977250 100644 (file)
@@ -44,6 +44,8 @@ using irc::sockets::insp_inaddr;
 using irc::sockets::insp_ntoa;
 using irc::sockets::insp_aton;
 
+/** Used to time out socket connections
+ */
 class SocketTimeout : public InspTimer
 {
  private:
@@ -363,7 +365,7 @@ class InspSocket : public EventHandler
         */
        void MarkAsClosed();
 
-       void HandleEvent(EventType et);
+       void HandleEvent(EventType et, int errornum = 0);
 
        bool Readable();
 };