Advanced OS Lab - 7th semester
- Study about socket programming.
- Study about OS and kernels.
- Write a program to implement a distributed chat server using TCP socket.
- Write a program to implement client server RPC and client server based program using RMI.
- Write a multi threaded client server program.
-
Compiling -
gcc Lab_2_server.c -o server
gcc Lab_2_client.c -o client
-
Running -
Run simultaneously in 2 tabs of a same computers (with IP 127.0.0.1) OR of 2 different computers (update IP)
./server
./client
- Study about Common Object Request Broker Architecture (CORBA).
- Write a program to simulate the functioning of lamports logical clock and lamports vector clock.
- Write a program to implement Christian's Algorithm and Berkeley Algorithm.
- Running -
- Lamport logical clock -
gcc lamport_logical_clock.c
./a.out < lamport_logical_clock_input
- Write a program to implement Christian Algorithm.
- Write a program to implement Vector Clock.
- Running -
g++ program.cpp
./a.out