asio C++ library

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