C++ Programming
Create a proxy server that can be connected by a single client and would only allow http requests
INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS
Programming Assignment #1
CSCE 3530 - Introduction to Computer Networks Fall 2017
100 Points
Due: 06/19/2019, 11:59 PM
Instructions:
- Compile the C programs and make sure it’s working.
- Comment your code. iii)Create a text file that describes the working and usage of the code.
- Please create a zip archive of your assignment folder (text file, code, and header files) and upload the zip file.
- Not following the above instructions could result up to 20% deduction from your lab assignment score.
Objective:
Create a proxy server that can be connected by a single client and would only allow http requests.
Requirements:
- Create a C-based client-server architecture using sockets
- The proxy server should be able to accept and service single client’s http requests
- The proxy server should run on cse01.cse.unt.edu machine and the client should run on cse02.cse.unt.edu machine Procedure:
- Create a C-based server that can accept single client’s request using sockets.
- The created proxy server should also be able to connect to the client requested website through port 80.
- Make sure the proxy server runs on cse01.cse.unt.edu and the format to start the proxy server as follows
pserver
where pserver is the proxy server executable and port_number is the port number on which the proxy server listens.
- Create a C-based client that can connect to the proxy server using sockets.
- Make sure the client runs on cse02.cse.unt.edu and connects the proxy server. The user can request the desired web page using the below format.
client url:
where client is the client executable, port_number is the port number on which the client connects the server and url is the requested url.
- Once the proxy server gets a request from the client, it then forwards the request to the web server.
- The web server responds with the requested web page. Capture the returned webpage from the web server and forward it to the client.
- Verify to see if the returned page is same as the browser returned page. Figure 1 shows the overall architecture.
An example client and server code is given on Canvas to start programming. Compile and run them, and explore the functions before attempting to solve this assignment.
Related Questions
. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java
CS 340 Milestone One Guidelines and Rubric
Overview: For this assignment, you will implement the fundamental operations of create, read, update,
. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class
Retail Transaction Programming Project
Project Requirements:
Develop a program to emulate a purchase transaction at a retail store. This
. The following program contains five errors. Identify the errors and fix them
7COM1028
Secure Systems Programming
Referral Coursework: Secure
. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer
CS 340 Final Project Guidelines and Rubric
Overview The final project will encompass developing a web service using a software stack and impleme