MCPcopy Create free account
hub / github.com/SFML/SFML / add

Method add

src/SFML/Network/SocketSelector.cpp:661–669  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

659
660////////////////////////////////////////////////////////////
661bool SocketSelector::add(const Socket& socket,
662 ReadinessType readinessType,
663 std::function<void(ReadinessType readinessType)> readyCallback)
664{
665 if (const SocketHandle handle = socket.getNativeHandle(); handle != priv::SocketImpl::invalidSocket())
666 return m_impl->add(&socket, handle, readinessType, std::move(readyCallback));
667
668 return false;
669}
670
671
672////////////////////////////////////////////////////////////

Callers 5

connectMethod · 0.45
queryDnsFunction · 0.45
connectMethod · 0.45
build.gradle.ktsFile · 0.45

Calls 1

getNativeHandleMethod · 0.45

Tested by

no test coverage detected