diff options
Diffstat (limited to 'src/Net/Connection.h')
-rw-r--r-- | src/Net/Connection.h | 2 |
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(); |