asio C++ library

PrevUpHomeNext

ip::host_name

Get the current host name.

std::string host_name();
  » more...

std::string host_name(
    asio::error_code & ec);
  » more...
Requirements

Header: asio/ip/host_name.hpp

Convenience header: asio.hpp


PrevUpHomeNext