Computer network homework

timer Asked: Apr 22nd, 2017

Question description

Modify p3client.c and p3server.c To test this homework, you need p3client.c, forwarder.c and p3server.c

• Establish a connection between p3client and p3server on UDP. (50 Points)

– p3client sends a digit or letter to forwarder, and then forwarder sends the same to p3server. For this homework, write C code for an UDP connection between p3client and p3server.

• Once p3server receives the digit or letter, p3server sends a message to p3clinet using UDP. (50 Points)

– p3server decides whether the received message is a digit or not. If it is not a digit, send “This is not a digit” to p3client on UDP. Otherwise, send the digit to p3client on UDP.


• You have to modify only two files posted -- p3client.c and p3server.c.

• For testing, Use forwarder.c modified.

• Submission: your p3client.c and p3server.c

I have uploaded a word file for you that will help you and it has some example, and the p3client.c and p3server.c files.

Tutor Answer

(Top Tutor) Studypool Tutor
School: Carnegie Mellon University
Studypool has helped 1,244,100 students
flag Report DMCA
Similar Questions
Hot Questions
Related Tags

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors