MCPcopy Create free account
hub / github.com/davisking/dlib / network_address

Method network_address

dlib/sockets/sockets_extensions.cpp:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21// ----------------------------------------------------------------------------------------
22
23 network_address::
24 network_address(
25 const std::string& full_address
26 )
27 {
28 std::istringstream sin(full_address);
29 sin >> *this;
30 if (!sin || sin.peek() != EOF)
31 throw invalid_network_address("invalid network address: " + full_address);
32 }
33
34// ----------------------------------------------------------------------------------------
35

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected