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

Method SetReceiveBufferSize

src/Nazara/Network/AbstractSocket.cpp:140–145  ·  view source on GitHub ↗

! * \brief Sets the maximum receive buffer size * * \param size The new maximum receive buffer size in bytes */

Source from the content-addressed store, hash-verified

138 * \param size The new maximum receive buffer size in bytes
139 */
140 void AbstractSocket::SetReceiveBufferSize(std::size_t size)
141 {
142 NazaraAssert(m_handle != SocketImpl::InvalidHandle, "Socket must be created first");
143
144 SocketImpl::SetReceiveBufferSize(m_handle, size);
145 }
146
147 /*!
148 * \brief Sets the maximum send buffer size

Callers 1

InitSocketMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected