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

Function opt_set_keepalive

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

------------------------------------------------------*/

Source from the content-addressed store, hash-verified

137
138/*------------------------------------------------------*/
139int opt_set_keepalive(lua_State *L, p_socket ps)
140{
141 return opt_setboolean(L, ps, SOL_SOCKET, SO_KEEPALIVE);
142}
143
144int opt_get_keepalive(lua_State *L, p_socket ps)
145{

Callers

nothing calls this directly

Calls 1

opt_setbooleanFunction · 0.85

Tested by

no test coverage detected