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

Method getReuseAddress

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

Source from the content-addressed store, hash-verified

42
43 void setReuseAddress(Exception& ex, bool flag) { setOption(ex, SOL_SOCKET, SO_REUSEADDR, flag ? 1 : 0); }
44 bool getReuseAddress(Exception& ex) const { return getOption(ex, SOL_SOCKET, SO_REUSEADDR) != 0; }
45
46 void setOOBInline(Exception& ex, bool flag) { setOption(ex, SOL_SOCKET, SO_OOBINLINE, flag ? 1 : 0); }
47 bool getOOBInline(Exception& ex) const { return getOption(ex, SOL_SOCKET, SO_OOBINLINE) != 0; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected