Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project Part 2: Basic TCP/IP Socket Programming Overview This is Part 2 of a project consisting of four parts. Each part of the project is

Project Part 2: Basic TCP/IP Socket Programming

Overview

This is Part 2 of a project consisting of four parts. Each part of the project is worth 5% of your final course grade. Refer to your Suggested Course Schedule to confirm your Part 2 due date.

Read all the project directions and questions before you begin preparing your answers, and consult your Open Learning Faculty Member if you have any questions about the project.

The overall purpose of this Project is to design and develop a simple data link layer protocol using C programming language.

Objectives

In Project Part 2, you will gain a better understanding of Transmission Control Protocol (TCP) / Internet Protocol (IP), experience using sockets as a communication mechanism, and explore how to use TCP and User Datagram Protocol (UDP) with sockets.

Lets think of an application that sends data from an end host computer system to another computer. A reasonably good way to send data over the Internet is to use a transport layer protocol, such as Transmission Control Protocol (TCP) or User Datagram Protocol (UDP), or a network layer protocol Internet Protocol (IP), not data link layer protocols. (Why?) Here are some questions:

Do we really have to develop those protocols in the application? No, we just need to use one of them because they are implemented in the operating system kernels.

What protocol, then, do we need to use? TCP, UDP or IP? It depends on our applications.

How do we use those protocols in our applications?

Instructions

1. Read the section called Project Part 2: Background Information. You will need this information to complete Part 2 of the project.

2. After you have read and understand the background information, implement the following two programs:

a. Complete UDP echo server and client programs.

b. Complete TCP echo server and client programs.

Requirements for Project Part 2:

The messages must be given to the client programs as arguments, not only one argument, from the user. The client programs need to send the messages separately, not at once as one message.

All your programs should print your name and student number on the terminal window.

You need to test your programs on two terminals, one terminal for server and another terminal for client. The necessary port number and IP address should be given from the user as arguments.

Submit screen shots that show how your programs are compiled and run. Please refer to the general guidelines for preparing and submitting your project found under the Assignments Overview tab of your course.

You can use this link as a reference as well because Part 2 is completing Part 1.

Link: https://www.chegg.com/homework-help/questions-and-answers/project-part-1-introduction-c-programming-language-file-o-overview-part-1-project-consisti-q43819871?trackid=2f900cb268bc&strackid=29a5f780d320&ii=9

If there is any required data or the question is not clear, please inform me in comments.

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

Transactions On Large Scale Data And Knowledge Centered Systems X Special Issue On Database And Expert Systems Applications Lncs 8220

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Stephen W. Liddle ,Klaus-Dieter Schewe ,Xiaofang Zhou

2013th Edition

3642412203, 978-3642412202

More Books

Students also viewed these Databases questions

Question

Explain methods of metal extraction with examples.

Answered: 1 week ago

Question

Apply your own composing style to personalize your messages.

Answered: 1 week ago

Question

Format memos and e-mail properly.

Answered: 1 week ago