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

Function Shutdown

engine/dlib/src/dlib/socket_win32.cpp:492–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490 }
491
492 Result Shutdown(Socket socket, ShutdownType how)
493 {
494 int ret = shutdown(socket, ShutdownTypeToNative(how));
495 if (ret < 0)
496 {
497 return NATIVETORESULT(DM_SOCKET_ERRNO);
498 }
499 else
500 {
501 return RESULT_OK;
502 }
503 }
504
505 Result Send(Socket socket, const void* buffer, int length, int* sent_bytes)
506 {

Callers 5

dmLogUpdateNetworkFunction · 0.70
dmLogDispatchFunction · 0.70
LogFinalizeFunction · 0.70
UpdateFunction · 0.70
ShutdownConnectionPoolFunction · 0.70

Calls 1

ShutdownTypeToNativeFunction · 0.70

Tested by

no test coverage detected