Embedded TCP/IP stack
4.7.0
|
fnet_tftp_srv_desc_t fnet_tftp_srv_init | ( | fnet_tftp_srv_params_t * | params | ) |
Initializes the TFTP-server service.
params | Initialization parameters. |
0
if an error occurs.This function initializes the TFTP-server service. It allocates all resources needed, and registers the TFTP-server service in the polling list.
After the initialization, the user application should call the main polling function fnet_service_poll() periodically to run the TFTP server in background.