* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
- * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- * E-mail:
- * <brain@chatspike.net>
- * <Craig@chatspike.net>
- *
- * Written by Craig Edwards, Craig McLure, and others.
+ * InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
+ *
* This program is free but copyrighted software; see
* the file COPYING for details.
*
using irc::sockets::insp_ntoa;
using irc::sockets::insp_aton;
+/** Used to time out socket connections
+ */
class SocketTimeout : public InspTimer
{
private:
class InspSocket : public EventHandler
{
public:
+
+ bool IsIOHooked;
+
InspIRCd* Instance;
SocketTimeout* Timeout;
*/
void MarkAsClosed();
- void HandleEvent(EventType et);
+ void HandleEvent(EventType et, int errornum = 0);
bool Readable();
};