MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxDisconnect

Function fxDisconnect

xs/platforms/win_xs.c:210–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210void fxDisconnect(txMachine* the)
211{
212 if (the->connection != INVALID_SOCKET) {
213 closesocket(the->connection);
214 the->connection = INVALID_SOCKET;
215 }
216 WSACleanup();
217}
218
219txBoolean fxIsConnected(txMachine* the)
220{

Callers 3

fxConnectFunction · 0.70
fxReceiveFunction · 0.70
fxSendFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected