boost::corosio::local_stream_socket::local_endpoint

Get the local endpoint of the socket.

Synopsis

corosio::local_endpoint
local_endpoint() const noexcept;

Description

Returns the local address (path) to which the socket is bound. The endpoint is cached when the connection is established.

Return Value

The local endpoint, or a default endpoint if the socket is not connected.

Created with MrDocs