Exercise 14-2-1- TCP Server- 201810 - Introduction to operating system & Networking Exam
3 views 0 purchase
Course
TSC 3146 operating system
Institution
TSC 3146 Operating System
You will use the workspace navigator to access and manage your files.
You will use the editor to create and modify C++ source code.
You will use the bash shell to compile your programs using g++, view the
output produced by your programs and to execute Linux shell commands
and scripts.
Th...
Exercise 14‑2‑1: TCP Server
Due Apr 20 at 11:59pm Points 20 Questions 12
Available Apr 17 at 4pm Apr 20 at 11:59pm 3 days Time Limit None
Allowed Attempts 2
Instruc ons
For this exercise, you will work through a short programming lab using C++ in the Cloud9 environment and
will complete the quiz questions shown below. You can submit this exercise two (2) times. Only the highest
score will be kept.
Note: Your answers must be exact, i.e., correct spelling and spacing are necessary.
This exercise assumes that you have already configured a Cloud9 environment for C++
(see Cloud9SetUp slide show (https://studentuncc
my.sharepoint.com/personal/swatso50_uncc_edu/_layouts/15/guestaccess.aspx?
docid=0736c1193558844da9e8073ff4bcad902&authkey=AeUaKt1RFUSFJZf_dMVFl5w) for instructions).
Take the Quiz Again
A empt History
Attempt Time Score
LATEST Attempt 1 136 minutes 10 out of 20 *
* Some questions not yet graded
Correct answers are hidden.
Score for this attempt: 10 out of 20 *
Submitted Apr 17 at 6:46pm
This attempt took 136 minutes.
You will use the workspace navigator to access and manage your files.
You will use the editor to create and modify C++ source code.
You will use the bash shell to compile your programs using g++, view the
output produced by your programs and to execute Linux shell commands
and scripts.
This study source was downloaded by 100000850872992 from CourseHero.com on 03-17-2023 18:41:18 GMT -05:00
The goal of the assignment is for you to explore and use functions related
to TCP Sockets in Unix based OSs.
Refer to the following slides as you work on this exercise: Computer
Networks Sockets (https://drive.google.com/open?
id=0B2pK0GpUEQ4hdXN1dmUzb0ZVVXM) [pdf]
Question 1 pts
What is the most common type of distributed application?
client/server
Question 2 pts
What is the most common programming API used for network applications,
such as email and file sharing?
sockets
Question 3 pts
In order to deliver a datagram to a destination (or endpoint), it is necessary to
specify the IP address of the host network
interface and the port number receiving
application process.
This study source was downloaded by 100000850872992 from CourseHero.com on 03-17-2023 18:41:18 GMT -05:00
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller ExamsConnoisseur. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $7.99. You're not tied to anything after your purchase.