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

Function socket_setnonblocking

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

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

Source from the content-addressed store, hash-verified

308* Put socket into non-blocking mode
309\*-------------------------------------------------------------------------*/
310void socket_setnonblocking(p_socket ps) {
311 u_long argp = 1;
312 ioctlsocket(*ps, FIONBIO, &argp);
313}
314
315/*-------------------------------------------------------------------------*\
316* DNS helpers

Callers 11

socket_shutdownFunction · 0.70
socket_bindFunction · 0.70
socket_listenFunction · 0.70
meth_acceptFunction · 0.70
tcp_createFunction · 0.70
tryconnect6Function · 0.70
meth_acceptFunction · 0.70
global_createFunction · 0.70
inet_tryconnectFunction · 0.70
global_createFunction · 0.70
udp_createFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected