MCPcopy Create free account
hub / github.com/defold/defold / SelectorSet

Function SelectorSet

engine/dlib/src/dlib/socket.cpp:248–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246 }
247
248 void SelectorSet(Selector* selector, SelectorKind selector_kind, Socket socket)
249 {
250 dmFileDescriptor::PollEvent event = SelectorKindToPollEvent(selector_kind);
251 dmFileDescriptor::PollerSetEvent(&selector->m_Poller, event, socket);
252 }
253
254 bool SelectorIsSet(Selector* selector, SelectorKind selector_kind, Socket socket)
255 {

Callers 6

dmLogUpdateNetworkFunction · 0.85
ConnectSocketFunction · 0.85
UpdateFunction · 0.85
HandleIncomingQueriesFunction · 0.85
HandleBrowserResponsesFunction · 0.85
WaitForRawSocketReadableFunction · 0.85

Calls 2

SelectorKindToPollEventFunction · 0.85
PollerSetEventFunction · 0.85

Tested by 1

WaitForRawSocketReadableFunction · 0.68