MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / port

Method port

MonaBase/sources/SocketAddress.cpp:90–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 const IPAddress& host() const { return _host;}
89
90 UInt16 port() const { return _addr.sin6_port; }
91
92 const sockaddr* addr() const { return (sockaddr*)&_addr;}
93 NET_SOCKLEN size() const { return sizeof(_addr); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected