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

Method accept_nonblock

src/core/network/socket.cpp:325–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325AcceptResult TCPSocket::accept_nonblock(TCPSocket &c)
326{
327 socket_internal::set_blocking(_priv->socket, false);
328 return socket_internal::accept(_priv->socket, c);
329}
330
331ReadResult TCPSocket::read(void *data, u32 size)
332{

Callers 1

run_input_threadMethod · 0.80

Calls 2

set_blockingFunction · 0.85
acceptFunction · 0.85

Tested by

no test coverage detected