0% found this document useful (0 votes)
182 views1 page

Assignment 1 PDF

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 1

National University of Sciences & Technology

School of Electrical Engineering and Computer Science


Department of Computing

EE353: Computer Network (3+1): BESE-9 B Spring 2020

Assignment 1
CLO4: Design and implement solutions to overcome network unreliability (through hands on programming)
Maximum Marks: 25 Instructor: Dr. Muhammad Zeeshan
Announcement Date: Feb 06, 2020 Due Date : Feb 16, 2020 (10 pm) on LMS

Developing video file transfer over TCP and UDP sockets

Overall functional requirement:


A group of two students each is required to design and code a sender/receiver program to transmit “Audio File”
contents over UDP and TCP sockets separately using various system calls. It is required to code in GNU C on Linux
operating system.

Sender requirements:
Following are sender requirements:
a) Able to open and read contents of a audio file
b) Create segments and send them separately over TCP and UDP
c) Indicate the end of file to receiver
d) Close the socket once complete file is sent

Receiver requirements:
Following are receiver requirements:
a) Able to open a new audio file
b) Receive segments and write them in new file
c) Able to identify eof to terminate
d) Close the file and socket as well

Submission:
a) Two students can group and only one of the students in a group is required to make both the following
submissions on LMS.
b) Submit a single compressed folder containing code for both TCP and UDP in separate files and also submit a
word document file containing description and complete code of assignment. Make these both submissions
desperately.

You might also like