-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Example use case: When I start a server on port 0 the OS picks a free port for me as expected. However, there doesn't seem to be a way to find out which port it picked. This information is available in the asio acceptor but is not exposed in the endpoint. Would it be possible to expose it? The relevant method is acceptor::local_endpoint.