summaryrefslogtreecommitdiff
path: root/implementation/endpoints/include/tcp_client_endpoint_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'implementation/endpoints/include/tcp_client_endpoint_impl.hpp')
-rw-r--r--implementation/endpoints/include/tcp_client_endpoint_impl.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/implementation/endpoints/include/tcp_client_endpoint_impl.hpp b/implementation/endpoints/include/tcp_client_endpoint_impl.hpp
index cd8420a..991949c 100644
--- a/implementation/endpoints/include/tcp_client_endpoint_impl.hpp
+++ b/implementation/endpoints/include/tcp_client_endpoint_impl.hpp
@@ -31,8 +31,7 @@ public:
void restart();
bool get_remote_address(boost::asio::ip::address &_address) const;
- unsigned short get_local_port() const;
- unsigned short get_remote_port() const;
+ std::uint16_t get_remote_port() const;
bool is_reliable() const;
bool is_local() const;
@@ -50,6 +49,7 @@ private:
const std::string get_address_port_remote() const;
const std::string get_address_port_local() const;
void handle_recv_buffer_exception(const std::exception &_e);
+ void set_local_port();
const std::uint32_t recv_buffer_size_initial_;