Computer Network Lab Manual / Remote Command Execution Using Socket System Calls

Program Name

Write a C Program for Remote Command Execution Using Socket System Calls .
Theory

Server	Compiling	    cc s.c -o sobj
Server  Running	        ./ sobj&
Client	Compiling	    cc c.c
Client	Running	        ./a.out
Program Code


Input:
Enter a command : ls   
Output:
List of files


Home     Back