MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / EnableBlocking

Method EnableBlocking

src/Nazara/Network/AbstractSocket.cpp:89–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 */
88
89 void AbstractSocket::EnableBlocking(bool blocking)
90 {
91 if (m_isBlockingEnabled != blocking)
92 {
93 if (m_handle != SocketImpl::InvalidHandle)
94 SocketImpl::SetBlocking(m_handle, blocking, &m_lastError);
95
96 m_isBlockingEnabled = blocking;
97 }
98 }
99
100 /*!
101 * \brief Queries the available bytes

Callers 4

InitSocketMethod · 0.80
InitSocketMethod · 0.80
SocketPoller.cppFile · 0.80
TCP.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected