MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / firstAddress

Method firstAddress

base/poco/Net/src/NetworkInterface.cpp:624–634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622
623
624void NetworkInterface::firstAddress(IPAddress& addr, IPAddress::Family family) const
625{
626 try
627 {
628 addr = firstAddress(family);
629 }
630 catch (NotFoundException&)
631 {
632 addr = IPAddress(family);
633 }
634}
635
636
637void NetworkInterface::addAddress(const IPAddress& address)

Callers 5

setInterfaceMethod · 0.80
joinGroupMethod · 0.80
findFirstInterfaceMethod · 0.80
leaveGroupMethod · 0.80

Calls 1

IPAddressClass · 0.50

Tested by

no test coverage detected