TCPClose Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
TCPClose Function
C
void TCPClose(
    TCP_SOCKET hTCP
);
Description

Disconnects an open socket and destroys the socket handle, including server mode socket handles. This function performs identically to the TCPDisconnect() function, except that both client and server mode socket handles are relinquished to the TCP/IP stack upon return.

Preconditions

None

Parameters
Parameters 
Description 
hTCP 
Handle to the socket to disconnect and close. 
Returns

None

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