MCPcopy Create free account
hub / github.com/Tencent/UnLua / opt_get_reuseaddr

Function opt_get_reuseaddr

Plugins/UnLuaExtensions/LuaSocket/Source/src/options.cpp:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64int opt_get_reuseaddr(lua_State *L, p_socket ps)
65{
66 return opt_getboolean(L, ps, SOL_SOCKET, SO_REUSEADDR);
67}
68
69/*------------------------------------------------------*/
70/* enables reuse of local port */

Callers

nothing calls this directly

Calls 1

opt_getbooleanFunction · 0.85

Tested by

no test coverage detected