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

Function socket_setblocking

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

-------------------------------------------------------------------------*\ * Put socket into blocking mode \*-------------------------------------------------------------------------*/

Source from the content-addressed store, hash-verified

300* Put socket into blocking mode
301\*-------------------------------------------------------------------------*/
302void socket_setblocking(p_socket ps) {
303 u_long argp = 0;
304 ioctlsocket(*ps, FIONBIO, &argp);
305}
306
307/*-------------------------------------------------------------------------*\
308* Put socket into non-blocking mode

Callers 4

socket_destroyFunction · 0.70
socket_shutdownFunction · 0.70
socket_bindFunction · 0.70
socket_listenFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected