logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Bruce BachinskyStatistics
(5/5)

893 Answers

Hire Me
expert
Carson FisherEnglish
(5/5)

556 Answers

Hire Me
expert
Adrian ReedFinance
(5/5)

836 Answers

Hire Me
expert
Zkim HistHistory
(5/5)

658 Answers

Hire Me
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: 

  1. Compile the C programs and make sure it’s working.
  2. Comment your code. iii)Create a text file that describes the working and usage of the code.  
  3. Please create a zip archive of your assignment folder (text file, code, and header files) and upload the zip file.
  4. 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:  

  1. Create a C-based client-server architecture using sockets
  2. The proxy server should be able to accept and service single client’s http requests
  3. The proxy server should run on cse01.cse.unt.edu machine and the client should run on cse02.cse.unt.edu machine Procedure:
  4. Create a C-based server that can accept single client’s request using sockets.
  5. The created proxy server should also be able to connect to the client requested website through port 80.
  6. 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.

  1. Create a C-based client that can connect to the proxy server using sockets.
  2. 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.

  1. Once the proxy server gets a request from the client, it then forwards the request to the web server.
  2. The web server responds with the requested web page. Capture the returned webpage from the web server and forward it to the client.
  3. 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