diff options
Diffstat (limited to 'src/framework/common/connection.cpp')
-rw-r--r-- | src/framework/common/connection.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/framework/common/connection.cpp b/src/framework/common/connection.cpp index 8ba9bea..291c265 100644 --- a/src/framework/common/connection.cpp +++ b/src/framework/common/connection.cpp @@ -58,7 +58,12 @@ RawBuffer Connection::receive() const return m_socket.read(); } -int Connection::getFd() const +SockId Connection::getSockId() const noexcept +{ + return m_socket.getSockId(); +} + +int Connection::getFd() const noexcept { return m_socket.getFd(); } |