Remort Shell
The client program running on the client computer should connect to the server program running on the server computer. Then the client program should prompt for commands from the user, make them run on the server computer and print results back on the client computer's screen. This command-result sequence should run in a loop so that a number of commands can get run on the server. When the user enters the text "exit" on the client program the system should terminate. Implementation in C client.c /* compile Command : gcc -o client client.c ./client */ #include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> #include <stdio.h> #include <netinet/in.h> #include <netdb.h> #include <stdlib.h> #define PORT 1030 /* addr to connect */ #define HOST "localhost" ...