Question: write the program in C language ID is your own host follow by your own port to connect to other host and port. The main

write the program in C language

ID is your own host follow by your own port to connect to other host and port.

The main thing about this program is to create a simulated link state protocol to see who is connected to who and find the shortest path from 1 end node to another end node

write the program in C language ID is your own host followby your own port to connect to other host and port. Themain thing about this program is to create a simulated link stateprotocol to see who is connected to who and find the shortest

5 IMG_0244.jpg D-Q QO 2 3 Q Search messages along these routes. You must use a link-state protocol, and use Dijkstra's algorithm to compute routes. Requirements 5?????? pH/?? : C0 Tour fue wat You should write one program, called router, which you will run multiple times on some combination of computers. A real router would have physical links to a few neighbors. Instead, your simulated router will exchange UDP packets with a few neighbor programs. Your programs should not talk directly to non-neighbors;om just as on a real network, all communication to non- neighbors should be via neighbors. FSS Interface Requirements Your program should accept arguments as follows: myhost% ./router id port hostl port1 host2 port2 ... ulotprom cou ulot to tyis page The id is a number between 0 and 19 inclusive that lo hos should be unique over all programs in a particular simulated network. The port is the number of a UDP port on which your program should send and receive pa kets. Pnistovt Tlcicur padeet pa frem 30t, id ... cost 5 IMG_0244.jpg D-Q QO 2 3 Q Search messages along these routes. You must use a link-state protocol, and use Dijkstra's algorithm to compute routes. Requirements 5?????? pH/?? : C0 Tour fue wat You should write one program, called router, which you will run multiple times on some combination of computers. A real router would have physical links to a few neighbors. Instead, your simulated router will exchange UDP packets with a few neighbor programs. Your programs should not talk directly to non-neighbors;om just as on a real network, all communication to non- neighbors should be via neighbors. FSS Interface Requirements Your program should accept arguments as follows: myhost% ./router id port hostl port1 host2 port2 ... ulotprom cou ulot to tyis page The id is a number between 0 and 19 inclusive that lo hos should be unique over all programs in a particular simulated network. The port is the number of a UDP port on which your program should send and receive pa kets. Pnistovt Tlcicur padeet pa frem 30t, id ... cost

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!