MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / close

Method close

src/utils/socket_server_udp.cpp:71–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void SocketServerUDP::close ()
72{
73 if (server_socket != INVALID_SOCKET)
74 {
75 closesocket (server_socket);
76 server_socket = INVALID_SOCKET;
77 }
78 if (wsa_initialized)
79 {
80 WSACleanup ();
81 wsa_initialized = false;
82 }
83}
84
85///////////////////////////////
86//////////// UNIX /////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected