summaryrefslogtreecommitdiff
path: root/implementation/endpoints/include/udp_client_endpoint_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'implementation/endpoints/include/udp_client_endpoint_impl.hpp')
-rw-r--r--implementation/endpoints/include/udp_client_endpoint_impl.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/implementation/endpoints/include/udp_client_endpoint_impl.hpp b/implementation/endpoints/include/udp_client_endpoint_impl.hpp
index 0734d47..9f3e9b0 100644
--- a/implementation/endpoints/include/udp_client_endpoint_impl.hpp
+++ b/implementation/endpoints/include/udp_client_endpoint_impl.hpp
@@ -37,16 +37,16 @@ public:
void receive_cbk(boost::system::error_code const &_error,
std::size_t _bytes);
-
+
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_local() const;
private:
void send_queued();
void connect();
void receive();
+ void set_local_port();
message_buffer_t recv_buffer_;