Output is:
[root@VIPIN server_client_comm4.1]# ./server
Requesting client1 has written 12 bytes of data on server
Processing client1 has recieved 12 bytes of data from server
The recieved data is
a=7
b=4
operator=+
Result calculated by the processing client1 is 11
Processing client1 has written the result of 4 bytes on server
Requesting client1 has recieved 4 bytes of result from server
The result display by requesting client1 is=11
Requesting client2 has written 12 bytes of data on server
Processing client2 has recieved 12 bytes of data from server
The recieved data is
a=7
b=3
operator=-
Result calculated by the processing client2 is 4
Processing client2 has written the result of 4 bytes on server
Requesting client2 has recieved 4 bytes of result from server
The result display by requesting client2 is=4
Requesting client3 has written 12 bytes of data on server
Processing client3 has recieved 12 bytes of data from server
The recieved data is
a=10
b=2
operator=/
Result calculated by the processing client3 is 5
Processing client3 has written the result of 4 bytes on server
Requesting client3 has recieved 4 bytes of result from server
The result display by requesting client3 is=5
[root@VIPIN server_client_comm4.1]#