CloseSocket Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
CloseSocket Function
C
static void CloseSocket();
Description

This function closes a TCP socket. All socket state information is reset, and any buffered bytes are discarded. The socket is no longer accessible by the application after this point.

Preconditions

The TCPStub corresponding to the socket to be closed is synced.

Returns

None

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