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

Assignment-2 (1) Operating Systems Summer Course

This document announces Assignment 2 for the CS 330 Operating Systems course. The assignment requires students to work in groups of two to design and code a sender and receiver program to transmit an audio file over TCP and UDP sockets using system calls. The sender program must open and read an audio file, send its contents in segments over TCP and UDP sockets, and indicate the end of file. The receiver program must open a new audio file, receive the segments and write them, identify the end of file, and close the file and socket. Students must submit a compressed folder with their TCP and UDP code to the LMS by August 2, 2021 at 10 pm.

Uploaded by

Muhammad Qubais
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views1 page

Assignment-2 (1) Operating Systems Summer Course

This document announces Assignment 2 for the CS 330 Operating Systems course. The assignment requires students to work in groups of two to design and code a sender and receiver program to transmit an audio file over TCP and UDP sockets using system calls. The sender program must open and read an audio file, send its contents in segments over TCP and UDP sockets, and indicate the end of file. The receiver program must open a new audio file, receive the segments and write them, identify the end of file, and close the file and socket. Students must submit a compressed folder with their TCP and UDP code to the LMS by August 2, 2021 at 10 pm.

Uploaded by

Muhammad Qubais
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

National University of Sciences & Technology

School of Electrical Engineering and Computer Science


Department of Computing

CS 330: Operating Systems (3+1):

Assignment 2
CLO3: Design & implement various pieces of OS software
Maximum Marks: 50 Instructor: Dr. Mehdi Hussain
Announcement Date: Due Date : 2 August 2021 (10 pm) on LMS

Developing audio 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 of sent and received text files of both the versions (TCP and
UDP)

You might also like