Technical information

Direct Socket Interface
2-36 AT+i Commands Reference Manual May 31, 2008
+iSCS - Get a Socket Connection Status Report
I/(<sockstat>) where,
sockstat >=0 - Number of bytes pending in socket <hn>'s input buffer.
sockstat <0 - Socket error code.
I/ERROR If some error occurred.
Syntax: AT+iSCS:<hn>
Retrieves a socket's connection status report without reporting the
number of buffered characters.
Parameters:
<hn> A TCP/UDP socket handle.
Command Options:
<hn> Must have been obtained by a previous execution of an AT+iSTCP or
AT+iSUDP command during the current Internet mode session. Or a
socket accepted by a listening socket.
Result Code:
I/(<sockstat>) where,
sockstat=000 - Socket is connected without any associated errors.
sockstat<0 - Socket error code.
I/ERROR If some error occurred.