Question: Write a java program using UDP protocol to do this: First read a txt folder and assigned each node with his neigber here is a

Write a java program using UDP protocol to do this:

First read a txt folder and assigned each node with his neigber here is a one txt file:

ITC-1.txt:

1 u-02.sm201.iuk.edu 17870 2 4 600 2 u-03.sm201.iuk.edu 17871 1 3 1000 3 u-03.sm201.iuk.edu 17872 2 4 500 4 u-05.sm201.iuk.edu 17873 1 3 700

Seconde should have a clinet and a server run in the same time the server should listen all the time but when he want to send a message it switch to a client.

then you should impelement layers application layer you set the message and transport layer gets the host port and destenation port, sends those to the IP layer which gets the routing table. That goes to the link layer which does garble and shortest path and checksum. then sends to the server. then reverses to the client. the physical layer receives the message. checks the checksum, says it's for (this node for example) goes to the link layer and to the IP layer and removes those headers and the transfer layer removed that header and displays itself on the other clients screen

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!