Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Ultimate Database For Cloud Analytics And Mobile

Authors: John Campbell, Chris Crone, Gareth Jones, Surekha Parekh, Jay Yothers

1st Edition

1583474013, 978-1583474013

More Books

Students also viewed these Databases questions