Forum Discussion
Altera_Forum
Honored Contributor
21 years agoA new problem when uses the ftp service by inetd
<<<<My English is not good, please forgives.>>>> When a ftp user will connect the server, inetd then starts a ftpd process, but when the ftp user will disconnect, the ftpd process did not e...
Altera_Forum
Honored Contributor
21 years agoYou're right, at the end of the main function, the ftp server goes into an infinite loop looking for commands to parse but it doesn't check for a closed socket.
As quirky as it sounds, you need to send a "quit" command at the end of your session in order for the ftp server to shut down.