MCPcopy Create free account
hub / github.com/crownengine/crown / read_nonblock

Method read_nonblock

src/core/network/socket.cpp:337–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335}
336
337ReadResult TCPSocket::read_nonblock(void *data, u32 size)
338{
339 socket_internal::set_blocking(_priv->socket, false);
340 return socket_internal::read(_priv->socket, data, size);
341}
342
343WriteResult TCPSocket::write(const void *data, u32 size)
344{

Callers

nothing calls this directly

Calls 2

set_blockingFunction · 0.85
readFunction · 0.70

Tested by

no test coverage detected