TFTPIsOpened Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
TFTPIsOpened Function
C
TFTP_RESULT TFTPIsOpened();
Description

Waits for ARP reply and opens a UDP socket to perform further TFTP operations.

Preconditions

TFTPOpen() is already called.

Returns

TFTP_OK if previous call to TFTPOpen is complete 

TFTP_TIMEOUT if remote host did not respond to previous ARP request. 

TFTP_NOT_READY if remote has still not responded and timeout has not expired.

Side Effects

None

Remarks

Once opened, application may keep TFTP socket open and future TFTP operations. If TFTPClose() is called to close the connection TFTPOpen() must be called again before performing any other TFTP operations.

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