MCPcopy Create free account
hub / github.com/chen3feng/toft / SocketAddressInet

Method SocketAddressInet

system/net/socket_address.cpp:178–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176// SocketAddressInet members
177
178SocketAddressInet::SocketAddressInet(const char* src) : m_address()
179{
180 if (!Parse(src))
181 {
182 throw std::runtime_error(std::string("Invalid IPv4/6 socket address: ") + src);
183 }
184}
185
186SocketAddressInet::SocketAddressInet(const std::string& src) : m_address()
187{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected