Write a superserver to combine the simplified version of telnet and FTP services into one process. You need to create 5 files: superserver.c, telnetd.c and ftpd.c for server host; mytelent.c and myftp.c for client host. The superserver process should publish 2 port numbers for 2 different types of clients and then use select( ) to wait for the TCP connections from telnet clients and ftp clients. If it is telnet connection, superserve executes telnetd to handle it. If it is ftp connection, sueprserve executes ftpd to handle it. The client user can type either of the following 2 commands and then get prompted for cmds like put,get,ls,pwd,cd,quit. %mytelnet server-host-name telnet-port-number or %myftp server-host-name ftp-port-number For each client, please display its sequence number also. Clang using sockets,OS UNIX. compiler gcc
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.