tfTeldUserStop
Table of Contents >> Application Reference >> Telnet Daemon
| #include <trsocket.h> |
| int tfTeldUserStop | (void); |
Function Description
This function stops execution of the TELNET server by closing the listening socket and killing all existing connections. If the TELNET server was started in blocking mode, this function will cause tfTeldUserStart() to wake up and return to its caller.
Returns
- TM_ENOERROR
- Success.
- TM_EALREADY
- The TELNET server has already been stopped.