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

Function fxIsReadable

xs/platforms/win_xs.c:224–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224txBoolean fxIsReadable(txMachine* the)
225{
226 if (the->connection != INVALID_SOCKET) {
227 int count = recv(the->connection, the->debugBuffer, sizeof(the->debugBuffer) - 1, 0);
228 if (count > 0) {
229 the->debugOffset = count;
230 return 1;
231 }
232 }
233 return 0;
234}
235
236void fxReceive(txMachine* the)
237{

Callers 1

fxMessageWindowProcFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected