One mid-Eighteenth Century critic stated, ‘the Kano are so dreadful that all are rushing headlong towards other styles’. To what extent is this criticism justified?
Essay Help “>Essay Help
Social Cognitive Theory Project 1: Web Server
Objective: TCP socket programming skills, Insight into HTTP protocol
Implement a web server that handles one HTTP request at a time. Your web server should accept and parse the HTTP request, get the requested file from the server’s file system, create an HTTP response message consisting of the requested file preceded by header lines, and then send the response directly to the client. If the requested file is not present in the server, the server should send an HTTP “404 Not Found” message back to the client. Put an HTML file (e.g., HelloWorld.html) in the same directory that the server is in. Run the server program. Open a browser and provide the corresponding URL. For example: http://188.8.131.52:6789/HelloWorld.html 184.108.40.206 is the IP address of your server (Note this is the IP address of londo). You can also use the hostname e.g. londo.stetson.edu. 6789 is the port number. You need to replace this port number with whatever port you have used in the server code. If you omit “:6789”, the browser will assume port 80 and you will get the web page from the server only if your server is listening at port 80. ‘HelloWorld.html’ is the name of the file you placed in the server directory. The browser should then display the contents of HelloWorld.html. Then try to get a file that is not present at the server. You should get a “404 Not Found” message.
What to turn in:
Your server code along with the screen shots of your client browser, verifying that you actually receive the contents of the HTML file from the server.
Instead of using a browser, write your own HTTP client to test your server. Your client will connect to the server using a TCP connection, send an HTTP request to the server, and display the server response as an output. You can assume that the HTTP request sent is a GET method.
What to turn in:
Your client code and a typescript that illustrates at least two test cases
Implement a multithreaded server that is capable of serving multiple requests simultaneously. Using threading, first create a main thread in which your server listens for clients at a fixed port. When it receives a TCP connection request from a client, it will set up the TCP connection through another port and services the client request in a separate thread. There will be a separate TCP connection in a separate thread for each request/response pair.
What to turn in:
Your multithreaded server code and a typescript that illustrates how it handles multiple requests or multiple clients
Which would you pick?
During the Christmas break of his final year at the University of Maryland (UMD), Jim Malone plans to put together his résumé in order to seek full-time employment as a software engineer during the spring semester. To help Jim prepare for the job interview process, his older brother has arranged for him to meet with a friend, Lisa Bancroft, who has worked as a software engineer since her graduation from UMD two years earlier. Lisa gives him numerous pointers on résumé preparation, the interview process, and possible job opportunities.
After answering Jim’s many questions, Lisa asks Jim to update her on what he’s up to at UMD. As they discuss courses, Lisa indicates that of all the electives she took, the personal financial planning course was most useful. Jim says that, although he had considered personal financial planning for his last elective, he’s currently leaning toward a beginning golf course. He feels that the course will be fun because some of his friends are taking it. He points out that he doesn’t expect to get rich and already knows how to balance his checkbook. Lisa tells him that personal financial planning involves much more than balancing a checkbook, and that the course is highly relevant regardless of income level. She strongly believes that the personal financial planning course will benefit Jim more than beginning golf—a course that she also took while at UMD.
In 200 or more words, discuss the following:
1. Describe to Jim the goals and rewards of the personal financial planning process.
2. Explain to Jim what is meant by the term financial planning and why it is important regardless of income.
3. What arguments would you present to convince Jim that the personal financial planning course would benefit him more than beginning golf?