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

Function fxSend

xs/platforms/win_xs.c:259–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259void fxSend(txMachine* the, txBoolean more)
260{
261 if (the->connection != INVALID_SOCKET) {
262 again:
263 int count = send(the->connection, the->echoBuffer, the->echoOffset, 0);
264 if (count < 0) {
265 if (WSAEWOULDBLOCK == WSAGetLastError()) {
266 WaitMessage();
267 goto again;
268 }
269 fxDisconnect(the);
270 }
271 }
272}
273#endif

Callers

nothing calls this directly

Calls 2

sendFunction · 0.85
fxDisconnectFunction · 0.70

Tested by

no test coverage detected