|
SatCat5
|
A TFTP client makes request(s) to a remote server.
Definition at line 110 of file udp_tftp.h.
#include <udp_tftp.h>
Public Member Functions | |
| TftpClient (satcat5::udp::Dispatch *iface) | |
| Attach this client to a network interface. | |
| void | begin_download (satcat5::io::Writeable *dst, const satcat5::ip::Addr &server, const char *filename) |
| Download a file from server to a Writeable stream. | |
| void | begin_upload (satcat5::io::Readable *src, const satcat5::ip::Addr &server, const char *filename) |
| Upload data from a Readable stream to the server. | |
| bool | active () const |
| Is there an active transfer? | |
| u32 | progress_blocks () const |
| Transfer progress, measured in 512-byte blocks. | |
| u32 | progress_bytes () const |
| Transfer progress, measured in bytes. | |
Protected Attributes | |
| satcat5::udp::TftpTransfer | m_xfer |