18#define IANA_TFTP_PORT (69)
25#define TFTP_TIMEOUT (1)
46int GetTFTP(PCSTR fileName, PCSTR mode, puint8_t buffer,
int &len, uint32_t timeout,
IPADDR4 server, uint16_t port = IANA_TFTP_PORT);
72 uint32_t packetTimeout,
74 uint16_t port = IANA_TFTP_PORT);
Used to store and manipulate IPv4 addresses in dual stack mode.
Definition nettypes.h:208
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.
NetBurner IPADDR4 Class. See the IPADDR4 Class page for complete documentation.