summaryrefslogtreecommitdiff
path: root/implementation/endpoints/include/local_client_endpoint_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'implementation/endpoints/include/local_client_endpoint_impl.hpp')
-rw-r--r--implementation/endpoints/include/local_client_endpoint_impl.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/implementation/endpoints/include/local_client_endpoint_impl.hpp b/implementation/endpoints/include/local_client_endpoint_impl.hpp
index 7b71968..eb1b310 100644
--- a/implementation/endpoints/include/local_client_endpoint_impl.hpp
+++ b/implementation/endpoints/include/local_client_endpoint_impl.hpp
@@ -43,7 +43,7 @@ public:
bool is_local() const;
bool get_remote_address(boost::asio::ip::address &_address) const;
- unsigned short get_remote_port() const;
+ std::uint16_t get_remote_port() const;
void restart();
@@ -56,6 +56,7 @@ private:
void receive();
void receive_cbk(boost::system::error_code const &_error,
std::size_t _bytes);
+ void set_local_port();
message_buffer_t recv_buffer_;
};