int UpnpSetContentLength

( IN UpnpClient_Handle Hnd,
  IN int contentLength )

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:

Alphabetic index



This page was generated with the help of DOC++.