TFTPClose Macro

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
TFTPClose Macro
C
#define TFTPClose(void) UDPClose(_tftpSocket)
Description

Macro: void TFTPClose(void) 

Closes TFTP client socket.

Preconditions

TFTPOpen is already called and TFTPIsOpened() returned TFTP_OK.

Returns

None

Side Effects

None

Remarks

Once closed, application must do TFTPOpen to perform any new TFTP operations. 

If TFTP server does not change during application life-time, one may not need to call TFTPClose and keep TFTP socket open.

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