Reference no: EM131426531
In this assignment, you will practice network programming using sockets. Sockets are tools for connecting two programs together so that they can talk to each other. They are available in many programming languages such as C, Java, etc., so you can use them write codes in those languages that communicate with other programs over the network.
In this assignment, you goal is to write two programs: 1) client and 2) server.
client:
It is a program that receives an input from the user (in a string format), creates a connection to the server over a specific port number, and sends the user's input to the server.
server:
It is program that on startup, waits for incoming connections over a specific port. When a connection is established, it reads the data sent from the client, and displays it on the screen.
You can use either C/C++ or Java for writing the client code and the server code. If you use C/C++, depending on your machine, you must follow the tutorial for either Windows socket programming or Linux socket programming. For Java, there is no difference.
socket programming in C for Linux:
https://www.binarytides.com/socket-programming-c-linux-tutorial/
socket programming in C for Windows:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms738545(v=vs.85).aspx
socket programming in Java:
https://docs.oracle.com/javase/tutorial/networking/sockets/index.html
There are many other tutorials online. Feel free to use them.
Submission:
Submit a zipped file containing a 1-page pdf report, along with your client code and server code via connect. DO NOT SUBMIT EXECUTABLES. In the report, simply explain how to solved the problem, and what online resources you used.
You can do the assignment in groups of 2.
Note: You may be asked to run your client and server code in the class on your laptop to test them. Be prepared to do so.
Persuade leaders to respect and trust them as followers
: What attributes should followers have to persuade leaders to respect and trust them as followers? Explain.
|
Explain rationale for rules and procedures you use
: State and explain rationale for rules and procedures you use in the classroom. Explain how you involve students in decision making. Explain methods you use for conflict resolution.
|
Business strategy when in a hypercompetitive industry
: 1. Discuss how collusion can have a negative affect as a business strategy. Give an actual example of a collusion strategy used by a company. 2. Describe how a firm develops a business strategy when in a hypercompetitive industry.
|
Supervisor in the health information services department
: Suppose you are a supervisor in the Health Information Services Department of a facility with a policy prohibiting secondary employment with a competitor.
|
Write codes in those languages that communicate
: You will practice network programming using sockets. Sockets are tools for connecting two programs together so that they can talk to each other - They are available in many programming languages such as C, Java, etc., so you can use them write code..
|
Describe the recruitment procedures
: Describe the tasks that participants will be asked to perform including a step by step description of the procedures you plan to use with your subjects. Provide the approximate duration of subject participation for each procedure/ instrument and t..
|
Title-credit card default prediction
: Please complete the project plan you should design the project plan according to all breakdown items listed below, the plan should be double spaced no requirement on page limit as long as you clearly answer all break down items and no requirement ..
|
How much does she need to save each year
: Her savings, she plans to arrange retirement funding that will be in place if she were to live "forever" with the understanding that her heirs will inherit the remainder when she dies.
|
What might happen if validity is undermined
: First, explain the general importance of validity as it pertains to educational assessment. Why should teachers always strive for this result? What might happen if validity is undermined?
|