Assignment 6 - Raj Parikh (21CS30039) and Soukhin Nayek (21CS10062)
For Client:
- To run the client, specify the following as arguments in makefile <source_mac_address> <destination_mac_address> <source_ip> <destination_ip>
- Also change the interface name in line 101 as required.
- We have included stdin in fdset for the select call, so you can enter the queries whenever you want.
- The timeout over the select call can be changed in line 205 and 242. We have set it to 10 seconds.
For Server:
- To run the server, specify the following as arguments in makefile <source_mac_address> <source_ip>
- Also change the interface name in line 56 as required.
- The probability of drop message can be changed in line 36. We have set it to 0.5.
Notes:
- Interface name should be set the same for both the client and the server. For loopback/local we have used 'lo'.
- We have used Loopback address as the IP.