Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

ip::address_v4::loopback

Obtain an address object that represents the loopback address.

static address_v4 loopback();

This function returns an address that represents the well-known loopback address 127.0.0.1.

Return Value

address_v4(0x7F000001).


PrevUpHomeNext