Embedded TCP/IP stack  4.7.0

◆ fnet_tftp_srv_init()

fnet_tftp_srv_desc_t fnet_tftp_srv_init ( fnet_tftp_srv_params_t params)

Initializes the TFTP-server service.

Parameters
paramsInitialization parameters.
Returns
This function returns:
  • TFTP-server descriptor if no error occurs.
  • 0 if an error occurs.
See also
fnet_tftp_srv_release()

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.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net