Embedded TCP/IP stack: fnet_tftp_cln_params Struct Reference

FNET

fnet_tftp_cln_params Struct Reference

Input parameters for the fnet_tftp_cln_init() function. More...

Data Fields

fnet_tftp_request_t request_type
 Request type (read or write) defined by fnet_tftp_request_t. More...
 
struct fnet_sockaddr server_addr
 Socket address of the remote TFTP server to connect to. More...
 
fnet_char_tfile_name
 Name of the file to retrieve or create on the remote TFTP server. More...
 
fnet_tftp_cln_handler_t handler
 Pointer to the callback function defined by fnet_tftp_cln_handler_t(). More...
 
void * handler_param
 Optional application-specific parameter.
It is passed to the handler callback function as an input parameter. More...
 
fnet_time_t timeout
 Timeout for the TFTP server response in seconds.
If no response from a TFTP server is received during this timeout, the TFTP client is released automatically.
If it is set to 0 the default timeout will be used that is defined by the FNET_CFG_TFTP_CLN_TIMEOUT parameter. More...
 

Detailed Description

Input parameters for the fnet_tftp_cln_init() function.

Definition at line 120 of file fnet_tftp_cln.h.


The documentation for this struct was generated from the following file:

© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net