summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Network/UDPSocket.h')
-rw-r--r--Swiften/Network/UDPSocket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/Network/UDPSocket.h b/Swiften/Network/UDPSocket.h
index ff324fd..4ba9962 100644
--- a/Swiften/Network/UDPSocket.h
+++ b/Swiften/Network/UDPSocket.h
@@ -25,6 +25,8 @@ namespace Swift {
virtual void connectToFirstIncoming() = 0;
virtual void send(const SafeByteArray& data) = 0;
virtual void close() = 0;
+ virtual HostAddressPort getLocalAddress() const = 0;
+ virtual HostAddressPort getRemoteAddress() const = 0;
public:
boost::signal<void (boost::shared_ptr<SafeByteArray>)> onDataRead;