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

Method close

src/utils/multicast_client.cpp:103–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void MultiCastClient::close ()
104{
105 if (client_socket != INVALID_SOCKET)
106 {
107 closesocket (client_socket);
108 }
109 client_socket = INVALID_SOCKET;
110 if (wsa_initialized)
111 {
112 WSACleanup ();
113 wsa_initialized = false;
114 }
115}
116
117///////////////////////////////
118//////////// UNIX /////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected