From 115f94bfc23c481eab50298895f76bd494179cd8 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 21 May 2011 04:57:27 -0400 Subject: Made Anope able to process normally when disconnected from the uplink and not sleep(), enable usage of non-blocking connect() and default all sockets to non blocking mode. Some cleanup to m_ssl and some cleanup to main.cpp. --- include/dns.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/dns.h') diff --git a/include/dns.h b/include/dns.h index 6e79603d7..cb6d6b5c7 100644 --- a/include/dns.h +++ b/include/dns.h @@ -152,6 +152,10 @@ class DNSSocket : public ConnectionSocket bool ProcessRead(); bool ProcessWrite(); + + void OnConnect(); + + void OnError(const Anope::string &error); }; /** DNS manager, manages the connection and all requests -- cgit