MCPcopy Create free account
hub / github.com/SFML/SFML / getType

Method getType

src/SFML/Network/IpAddress.cpp:206–209  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

204
205////////////////////////////////////////////////////////////
206IpAddress::Type IpAddress::getType() const
207{
208 return std::holds_alternative<V4Data>(m_address) ? Type::IpV4 : Type::IpV6;
209}
210
211
212////////////////////////////////////////////////////////////

Callers 3

sendRequestMethod · 0.80
getPublicAddressMethod · 0.80
getPublicAddressMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected