TFTPGet Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
TFTPGet Function
C
BYTE TFTPGet();
Description

Fetches next data byte from TFTP socket. If end of data block is reached, it issues ack to server so that next data block can be received.

Preconditions

TFTPOpenFile() is called with TFTP_FILE_MODE_READ and TFTPIsGetReady() = TRUE

Returns

data byte as received from remote server.

Side Effects

None

Remarks

Use this function to read file from server.

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