MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / close_test_socket

Function close_test_socket

components/net/utest/tc_sal_socket.c:158–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158static void close_test_socket(int sock)
159{
160 if (sock >= 0)
161 {
162 sal_closesocket(sock);
163 LOG_I("Closed socket %d", sock);
164 }
165}
166
167/* Server thread function */
168static void server_thread_entry(void *parameter)

Callers 10

server_thread_entryFunction · 0.85
client_thread_entryFunction · 0.85
cleanup_test_connectionFunction · 0.85
TC_sal_socket_createFunction · 0.85
TC_sal_socket_bindFunction · 0.85
TC_sal_socket_listenFunction · 0.85
TC_sal_socket_connectFunction · 0.85
TC_sal_socket_acceptFunction · 0.85

Calls 1

sal_closesocketFunction · 0.85

Tested by

no test coverage detected