Sets the size of the receive buffer for incoming SOAP requests.
Documentation
Sets the size of the receive buffer for incoming SOAP requests. This API
allows devices that have memory constraints to exhibit consistent
behaviour if the size of the incoming SOAP request exceeds the memory
that device can allocate for incoming SOAP messages. The default
value set by the SDK for the buffer is 16K bytes. Trying to set a value
greater than 32K will result in an error.
- Parameters:
- Hnd - The handle of the device instance
for which the coincoming content length
needs to be set.
contentLength - The maximum permissible content length
for incoming SOAP actions.
- Returns:
- [int] An integer representing one of the following:
- UPNP_E_SUCCESS: The operation completed successfully.
- UPNP_E_INVALID_HANDLE: The handle is not a valid
device handle.
- UPNP_E_LARGE_BUFFER_SIZE: The buffer size requested was
too large.
Alphabetic index
This page was generated with the help of DOC++.