summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/Socket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/Socket.h b/includes/Socket.h
index e5a9f21..2a6a95d 100644
--- a/includes/Socket.h
+++ b/includes/Socket.h
@@ -14,6 +14,8 @@
namespace Balau {
+struct DNSRequest;
+
class Socket : public Handle {
public:
@@ -33,6 +35,7 @@ class Socket : public Handle {
bool gotW() { return m_evtW->gotSignal(); }
IO<Socket> accept() throw (GeneralException);
bool listen();
+ bool resolved();
private:
Socket(int fd);
class SocketEvent : public Events::BaseEvent {
@@ -55,6 +58,7 @@ class Socket : public Handle {
bool m_listening = false;
sockaddr_in6 m_localAddr, m_remoteAddr;
SocketEvent * m_evtR, * m_evtW;
+ DNSRequest * m_req = NULL;
};
class ListenerBase : public Task {