HandlePossibleTCPDisconnection Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
HandlePossibleTCPDisconnection Function
C
static BOOL HandlePossibleTCPDisconnection(
    SOCKET s
);
Description

Internal function that checks for asynchronous TCP connection state changes and resynchs the BSD socket descriptor state to match.

Preconditions

None

Parameters
Parameters 
Description 
TCP type socket descriptor returned from a previous call to socket. This socket must be in the SKT_LISTEN, SKT_IN_PROGRESS, SKT_EST, or SKT_DISCONNECTED states. 
Returns

TRUE - Socket is disconnected FALSE - Socket is

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.