MCPcopy Create free account
hub / github.com/defold/defold / socket_shutdown

Function socket_shutdown

engine/script/src/luasocket/wsocket.c:104–108  ·  view source on GitHub ↗

-------------------------------------------------------------------------*\ * \*-------------------------------------------------------------------------*/

Source from the content-addressed store, hash-verified

102*
103\*-------------------------------------------------------------------------*/
104void socket_shutdown(p_socket ps, int how) {
105 socket_setblocking(ps);
106 shutdown(*ps, how);
107 socket_setnonblocking(ps);
108}
109
110/*-------------------------------------------------------------------------*\
111* Creates and sets up a socket

Callers 2

meth_shutdownFunction · 0.70
meth_shutdownFunction · 0.70

Calls 2

socket_setblockingFunction · 0.70
socket_setnonblockingFunction · 0.70

Tested by

no test coverage detected