summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-02 16:44:12 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-02 16:44:12 +0000
commitbd9b965904651c84690be6d9fe293a4706bd9cb0 (patch)
tree5c347276f936c79f5846c561ee7712c66b4d2658 /include/socket.h
parent656e19351668cb5ada005d4e9e7e6d1f787990e2 (diff)
Nonblocking dns for InspSocket class (used by server to server)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3018 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/socket.h b/include/socket.h
index e8eec405c..dcaca13db 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -22,6 +22,7 @@
#include <netinet/in.h>
#include <sstream>
#include <string>
+#include "dns.h"
/**
* States which a socket may be in
@@ -314,7 +315,8 @@ public:
*/
virtual ~InspSocket();
- virtual DoResolve();
+ virtual bool DoResolve();
+ virtual bool DoConnect();
};
#endif