Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Randomly two of the group members will be selected In machine - 1 , open two terminals, terminal - 1 - 1 , terminal -

Randomly two of the group members will be selected
In machine-1, open two terminals, terminal-1-1, terminal-1-2
In machine-2, open two terminals, terminal-2-1, terminal-2-2
Start the UDP server program in
s1-udp at terminal-1-1,
s2-udp at terminal-2-1
Start the UDP client program
c1-udp at terminal-1-2,
c2-udp at terminal-2-2
[P-1] Show the effects if you try to bind to different IP address OR to
some reserved port. Report the error code returned by the bind call in
both the cases. Print the error code in terminals. Every terminal is now running one UDP client and one UDP server
Start communication
Send some data from machine 1 from machine 2 and print them
appropriately in the other machine
Open FIVE UDP servers but a single client in each of the machines
[P2] Write a program to periodically send some data to each of the 5 UDP
servers from a single UDP client. The client will have to know a priori the details of the UDP servers.
Do this simultaneously from each of the clients at two different machines
All the Five Servers should be showing the messages coming from the
clients and their replies. Each message should be sent in a period of 2
second. Each message should have a sequence number 1,2,3 etc. The
message should print the sequence number at both client and server and it
should be visible in clearly while evaluation. [CP3] Create two text files in each of the machines using
some random text. The size of the file should be at least
more than 5 MB. Send the file from one machine to another
machine using UDP client and server.
MARKS 50
[P4] Create a folder in the machines with a combination of
PDF and TEXT files. Transfer the complete folder from the
client side to the serve side using UDP client-server
program using a single program.

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

Step: 3

blur-text-image

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

Data Management Databases And Organizations

Authors: Richard T. Watson

2nd Edition

0471180742, 978-0471180746

More Books

Students also viewed these Databases questions