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

Method getReusePort

MonaBase/sources/Socket.cpp:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67#endif
68 }
69 bool getReusePort() const {
70#ifdef SO_REUSEPORT
71 Exception ex;
72 return getOption(ex,SOL_SOCKET, SO_REUSEPORT) != 0;
73#else
74 return false;
75#endif
76 }
77
78 SocketAddress& address(Exception& ex, SocketAddress& address) const {
79 ASSERT_RETURN(_initialized, address)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected