17 #define IANA_TFTP_PORT (69) 23 #define TFTP_TIMEOUT (1) 24 #define TFTP_ERROR (2) 44 int GetTFTP(PCSTR fileName, PCSTR mode, puint8_t buffer,
int &len, uint32_t timeout, IPADDR4 server, uint16_t port = IANA_TFTP_PORT);
70 uint32_t packetTimeout,
72 uint16_t port = IANA_TFTP_PORT);
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.
Definition: tftp.cpp:28
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.
Definition: tftp.cpp:145