asio C++ library

PrevUpHomeNext

ip::basic_endpoint::operator<<

Output an endpoint as a string.

std::basic_ostream< Elem, Traits > & operator<<(
    std::basic_ostream< Elem, Traits > & os,
    const basic_endpoint< InternetProtocol > & endpoint);

Used to output a human-readable string for a specified endpoint.

Parameters

os

The output stream to which the string will be written.

endpoint

The endpoint to be written.

Return Value

The output stream.


PrevUpHomeNext