tfTftpdUserExecute
Table of Contents >> Application Reference >> TFTPD API
| #include <trsocket.h> |
| int tfTftpdUserExecute | (void); |
Function Description
This function executes the TFTP server's main loop. This call is valid only if tfTftpdUserStart() has been called in non-blocking mode and tfTftpdUserExecute() is not currently executing.
Returns
- TM_ENOERROR
- Success.
- TM_EPERM
- tfTftpdUserStart() has not been called or tfTftpdUserExecute() is currently executing.
- TM_ENOENT
- tfTftpdInit() has not been called.