MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / setSendBufferSize

Method setSendBufferSize

MonaBase/sources/Socket.cpp:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29class SocketImpl : public SocketFile {
30public:
31 void setSendBufferSize(Exception& ex,int size) { setOption(ex, SOL_SOCKET, SO_SNDBUF, size); }
32 int getSendBufferSize(Exception& ex) const { return getOption(ex,SOL_SOCKET, SO_SNDBUF); }
33
34 void setReceiveBufferSize(Exception& ex, int size) { setOption(ex, SOL_SOCKET, SO_RCVBUF, size); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected