Stream-based client and server sockets

Assignment Help Other Subject
Reference no: EM133159611

CIS 554 IT Project Leadership Strategies - Strayer University

Question 1. Design your personal web page which includes your name, picture, a short paragraph describing yourself, etc. Create a subdirectory public_html under your home directory on grail and put your HTML file index.htm there. Make sure that public_html is accessible and index.html is readable. Your homepage can be reached at https://grail.eecs.csuohio.edu/~yourloginid (replace yourloginid with your login name). Print your homepage from a browser and submit it as your homework cover page.

Question 2. Log into grail.eecs.csuohio.edu, then use ssh to log into one of the other Linux computers from the list on the next page. Using the attached Sockets Server (socket.c) and Sockets Client (client.c), copy them to your grail home directory. Some Linux text editors are nano, pico, vi, emacs, gedit. Compile the server and client by typing:
gcc server.c -o server gcc client.c -o client

Test the programs to see if they work correctly. On the current computer, type:
./server 54321 (choose a number between 2000 and 65535, 54321 is just an example).
The server is now waiting for the client to connect. Open another terminal and sign onto grail, then sign on to a different computer from where your server is running. E.g., if your server is running on renoir, sign on to rodin. On the second computer, type:
./client TheServer 54321 (TheServer is the host computer running server, e.g. renoir). (54321 is the socket on which you started the server earlier).

The client should prompt you to enter a message. If there are no errors, the server will display the message you typed to stdout and terminate, after which the client prints an acknowledgment message and terminates. You can see the result of the message being sent by switching back to the first terminal to view the server screen.

Now that you have the above programs working, modify the stream-based client and server sockets to be an echo server, where the client sends a message, and the server returns that message, the client receives it, and prints the echoed message. Hint: make a modification of the above client and server programs to transfer multiple messages back and forth until the client terminates the connection. Submit the echo client and server programs and screen captures proving that the programs worked successfully.
Additional information about Sockets Programming is in section 2.7 (pp 52-61).

Attachment:- Personal web page.rar

Reference no: EM133159611

Questions Cloud

What should the criteria for effectiveness be : The Case Incident The Social Agency in Chapter 10, page 350, The Social Agency, and answer questions 1-3.
What is an example of security breaches : What is an example of security breaches, that you can find on the internet, particularly in your chosen career field, that significantly affected a business?
Benefit the performance management process : How can the use of apps benefit the performance management process? How can they detract from it?
Management implications for dealing : What the issue is, why the issue is important and affects employees, how this issue relates to concepts/theories from class, whether there are any new developme
Stream-based client and server sockets : Different computer from where your server is running. E.g., if your server is running on renoir, sign on to rodin. On the second computer, type
Compute the dollar markup per unit on variable cost : Rios Company makes drones and uses the variable cost method in setting product price. Compute the dollar markup per unit on variable cost
Explain the markov model : Explain the Markov model as it applies to forecasting HR supply. What useful information does the Markov model provide for employees, particularly with respect
Erikson psychosocial theory of development : According to the scenario above, in what stage of Erikson's Psychosocial Theory of Development Is Lacie?
Organization culture and design interventions apply : In what types of situations would the Organization Culture and Design interventions apply?

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd