CPS_SocGetLength

C Specification

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

Arguments

None.

Return Values

Number of data sets stored in the receive buffer.

Description

Returns the number of data sets stored in the receive buffer. When using TCP communications, this returns -1 if the buffer is empty and communication is disconnected. Does not block.

See Also

CPS_SocRead

Revision History

10/21/2005 Initial version.