MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / getSocketBlockingState

Function getSocketBlockingState

JUCE/modules/juce_core/network/juce_Socket.cpp:207–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205
206 #if ! JUCE_WINDOWS
207 static bool getSocketBlockingState (SocketHandle handle)
208 {
209 return (fcntl (handle, F_GETFL, 0) & O_NONBLOCK) == 0;
210 }
211 #endif
212
213 static int readSocket (SocketHandle handle,

Callers 1

readSocketFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected