NetBurner 3.1
tftp.h File Reference

NetBurner TFTP API. More...

Go to the source code of this file.

Macros

#define TFTP_OK   (0)
 Success.
 
#define TFTP_TIMEOUT   (1)
 TFTP Timeout.
 
#define TFTP_ERROR   (2)
 TFTP Error.
 

Functions

int GetTFTP (PCSTR fileName, PCSTR mode, puint8_t buffer, int &len, uint32_t timeout, IPADDR4 server, uint16_t port=IANA_TFTP_PORT)
 Get a file from a TFTP server. More...
 
int SendTFTP (PCSTR fileName, PCSTR mode, puint8_t buffer, int len, uint32_t timeout, uint32_t packetTimeout, IPADDR4 server, uint16_t port=IANA_TFTP_PORT)
 Send a file to a TFTP server. More...
 

Detailed Description

NetBurner TFTP API.