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

  What kind of fact pattern are you looking for

Do you want to explore a local case or a nationally publicized story? Where will you find your case? What research have you done so far? What kinds of questions do you want to answer? Your journal entry should be at least 300 words. Outside source..

  Test bivariate relationships between casual serum glucose

PUN105 Assessment - Analytical Report - Describe and test the bivariate relationships between casual serum glucose at the baseline examination

  Discussing pathophysiologic alteration

Define the disorder (Headaches) discussing pathophysiologic alteration, symptoms, and two educational resources.

  Explain why polytene chromosomes are formed

MOD002804 - Principles of Genetics - ANGLIA RUSKIN UNIVERSITY - Explain what polytene chromosomes are and how they are formed

  Briefly define categories of security mechanisms

What is the difference between passive and active security threats? List and briefly define categories of security mechanisms.

  How you would involve stakeholders in the development

Develop a working plan for how you would involve stakeholders in the development of the intervention evaluation plan.

  Summarize historical beginnings of juvenile justice system

Summarize the historical beginnings of the juvenile justice system. How have U.S. Supreme Court decisions been especially influential in the juvenile courts?

  Drafting of a new constitution

Why were the Articles deemed inadequate for governing the United States during peacetime? What crises, real or potential, did many political actors fear?

  Identify and describe the keynesian actions

Identify and describe the Keynesian actions and explain why the government chose to apply these measures.

  The academy of nutrition and dietetics

The Academy of Nutrition and Dietetics and the American Society for Parenteral and Enteral Nutrition developed a set of criteria for diagnosing malnutrition.

  Create a deductively valid argument for the position

Based on the sources, create a deductively valid argument for the position you defended in the Week One discussion.

  How can stereotypes serve both negative-positive function

How can stereotypes serve both negative and positive functions? Provide examples. In your opinion, do the positive functions justify the use of racial

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