MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / setBlocking

Method setBlocking

source/kernel/knativesocket.cpp:739–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

737}
738
739void KNativeSocketObject::setBlocking(bool blocking) {
740 this->blocking = blocking;
741#ifdef BOXEDWINE_MULTI_THREADED
742 setNativeBlocking(this->nativeSocket, blocking);
743#endif
744 LOG_SOCK(" native socket: %x set blocking %s", nativeSocket, blocking?"true":"false");
745}
746
747bool KNativeSocketObject::isBlocking() {
748 return this->blocking;

Callers 1

acceptMethod · 0.45

Calls 1

setNativeBlockingFunction · 0.85

Tested by

no test coverage detected