Embedded TCP/IP stack: fnet_tftp_srv_init

FNET

fnet_tftp_srv_desc_t fnet_tftp_srv_init ( struct fnet_tftp_srv_params 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-2018 by Andrey Butok. http://fnet.sourceforge.net