CPS_GetProperSize

C Specification

#include <nitroWiFi/cps.h>
s32 CPS_GetProperSize (void);

Arguments

None.

Return Values

Used to find the TCP send packet size.

Description

Returns the value used to obtain the optimal TCP transmission packet size at that time. Transmission is likely to be more efficient if the packet size is an integer multiple of this value. If 0 is returned, the partner's window size is 0. If a TCP connection has not been established, the function returns -1.

See Also

CPS_SocWrite

Revision History

10/21/2005 Initial version.