summaryrefslogtreecommitdiffstats
path: root/src/Net/Connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Net/Connection.h')
-rw-r--r--src/Net/Connection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Net/Connection.h b/src/Net/Connection.h
index 1879f9e..80b721f 100644
--- a/src/Net/Connection.h
+++ b/src/Net/Connection.h
@@ -46,6 +46,8 @@ class Connection {
virtual bool isConnected() const = 0;
virtual const IPAddress* getPeer() const = 0;
+ virtual bool dataPending() = 0;
+
bool send(const Packet &packet);
bool recieve();