MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / duk_trans_socket_finish

Function duk_trans_socket_finish

Source/Utils/duk_trans_socket_unix.c:81–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void duk_trans_socket_finish(void) {
82 if (client_sock >= 0) {
83 (void) close(client_sock);
84 client_sock = -1;
85 }
86 if (server_sock >= 0) {
87 (void) close(server_sock);
88 server_sock = -1;
89 }
90}
91
92void duk_trans_socket_waitconn(void) {
93 struct sockaddr_in addr;

Callers 1

debugger_detachedFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected