nn::dlp::CTR::Server::GetBufferSize Member Function
static size_t GetBufferSize(
u8 maxClientNum,
size_t blockBufferSize = MIN_NETWORK_BLOCK_BUFFER_SIZE *2,
size_t blockBufferNum = MIN_NETWORK_BLOCK_BUFFER_NUM
);
| Name | Description | |
|---|---|---|
| in | maxClientNum | Specifies the maximum number of clients (from 1 to MAX_CLIENT_NUM) that can connect to the server. |
| in | blockBufferSize | This is the size of the block buffer when data that has been read from a file is kept before sending. Specify a size is greater than or equal to MIN_NETWORK_BLOCK_BUFFER_SIZE and less than or equal to MAX_NETWORK_BLOCK_BUFFER_SIZE. |
| in | blockBufferNum | This is the number of block buffers. Specify a number greater than or equal to MIN_NETWORK_BLOCK_BUFFER_NUM and less than or equal to MAX_NETWORK_BLOCK_BUFFER_NUM. |
Gets the size of the buffer required to initialize the server.
CONFIDENTIAL