17#define IANA_TFTP_PORT (69)
31#define TFTP_TIMEOUT (1)
52int GetTFTP(PCSTR fileName, PCSTR mode, puint8_t buffer,
int &len, uint32_t timeout,
IPADDR4 server, uint16_t port = IANA_TFTP_PORT);
78 uint32_t packetTimeout,
80 uint16_t port = IANA_TFTP_PORT);
Used to store and manipulate IPv4 addresses in dual stack mode.
Definition nettypes.h:225
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.
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.