To write a python program for simulating ARP protocols using TCP.
- Start the program
- Using socket connection is established between client and server.
- Get the IP address to be converted into MAC address.
- Send this IP address to server.
- Server returns the MAC address to client.
- Start the program
- Accept the socket which is created by the client.
- Server maintains the table in which IP and corresponding MAC addresses are stored.
- Read the IP address which is send by the client.
- Map the IP address with its MAC address and return the MAC address to client. P
Thus, the python program for simulating ARP protocols using TCP was successfully executed.