MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / SetMaxSend

Method SetMaxSend

UTCP/src/ut_clnt.cpp:1749–1751  ·  view source on GitHub ↗

SetMaxSend Sets the maximum number of bytes that can be sent at once. Note that SetSockOpt may report success while setting less than size requested - call GetMaxSend to confirm. Params length - number of bytes Return UTE_SUCCESS - success otherwise failure ****************************************************/

Source from the content-addressed store, hash-verified

1747 otherwise failure
1748****************************************************/
1749int CUT_WSClient::SetMaxSend(int length){
1750 return setsockopt(m_socket,SOL_SOCKET,SO_SNDBUF,(char *)&length,sizeof(int));
1751}
1752
1753/***************************************************
1754SetMaxReceive

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected