diff options
Diffstat (limited to 'cpp/src/qpid/sys/Socket.h')
| -rw-r--r-- | cpp/src/qpid/sys/Socket.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/Socket.h b/cpp/src/qpid/sys/Socket.h index 2e9a389133..1594e89aac 100644 --- a/cpp/src/qpid/sys/Socket.h +++ b/cpp/src/qpid/sys/Socket.h @@ -87,7 +87,16 @@ public: * socket */ std::string getPeerAddress() const; + /** + * Returns an address (host and port) for the local end of the + * socket + */ + std::string getLocalAddress() const; + uint getLocalPort() const; + uint getRemotePort() const; + + /** Accept a connection from a socket that is already listening * and has an incoming connection */ |
