Home |
Function tftp_server_daemon |
Function tftp_server_daemonThis function is the TFTP Server. int tftp_server_daemon(void); Parametersreturn valueReturns 0 if successful, otherwise SOCKET_ERROR. If an error occurred, call xn_getlasterror and xn_geterror_string to return the error value. In addition to the error values listed below, all errors returned by socket, bind, connect, recvfrom, recv, and select may also be set. Section Error Codes further describes each error. Possible values for this function are:
The TFTP Server processes one incoming TFTP request (either put or get) and then returns. vf_init must be called before tftp_server_daemon can be used.
|