Create a C or Java based client-server architecture using sockets

Create a web proxy server that can be connected by a single client and would only allow

http requests. The proxy server should be able to cache up to five recent websites.

1. Create a C/ Java based client-server architecture using sockets

2. The proxy server should be able to accept and service single client’s http requests

3. The server should be run on specific machine and the clients should be

run on any machine between . The IP

address of the machine [login to view URL]

4. The proxy server should be able to cache at least five recent requested webpages,

if available.

[login to view URL] a C/ Java based server that can accept single client’s request using socket

2. The created proxy server should also be able to connect to the client requested

website through port 80

3. Make sure the proxy server runs on specific machine and the format to start the

proxy server is:

pserver <port_number>

where pserver is the proxy server executable and port_number is the port

number on which the proxy server listens

4. Create a C/ Java based client that can connect to the proxy server using socket

5. Make sure the client runs on any of the machines and connects the proxy server. The user can request the desired web page using the format given below:

client <port_number>

url: <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

6. Once the proxy server gets a request from the client, it then forwards the request to

the web server.

7. The proxy server checks for the response from the web server

8. If the HTTP response is 200, the returned web page from the web server is cached

in the proxy server. The proxy server stores the webpage in a file and assigns a

filename based on the URL (eg. [login to view URL]).

9. A list file ([login to view URL]) will store the URL of the webpage

[login to view URL] list file stores five recent URLs. The cached websites that are not listed in the

list file should be deleted

[login to view URL] the returned web page is cached, the web page is forwarded to the client.

Verify to see if the returned page is same as the browser returned page

[login to view URL] the HTTP response is not 200, do not cache the web page instead forward the

HTTP response to the client

[login to view URL] web caching by accessing multiple websites

14.A sample [login to view URL] file is available

Skills: C Programming, C# Programming, C++ Programming, Java, Software Architecture

See more: tcp echo client server program in c, udp socket programming in c, client server program in c for file transfer, tcp client server chat program in c, tcp socket programming in c, client server socket programming in java, client server socket programming in c linux, tcp socket programming in java, Create A Socket Based Client Server Application, java multi client server using udp, client server program using rsa java, client server program using android step step java, java rmi based client server application, tcp based client server architecture, client server architecture java web service, projects socket programming based multi client server architecture, simple client server chatting using java, voice chat using client server architecture vbnet, java based client server architecture, projects based client server architecture java

About the Employer:
( 21 reviews ) denton, United States

Project ID: #15422563

Awarded to:

$20 USD in 1 day
(32 Reviews)

6 freelancers are bidding on average $116 for this job


NO AUTOMATIC BIDDING........................ I am here freelancer first to discuss the details then i can sure about my price and the deadline. My way of working is not only to complete but also to provide enough u More

$30 USD in 1 day
(41 Reviews)
$30 USD in 1 day
(45 Reviews)

This is a small implementation of Proxy server and HTTP server. As it has to handle the cache also so it'll have memory management also. This can be done in C/C++/Java. Relevant Skills and Experience We have a team of More

$555 USD in 20 days
(10 Reviews)

Hello, I am very interested in the project and you would like to apply to it. I'm a web developer with 7 years experience in PHP, MYSQL, CSS3, HTML5 and deep knowledge Wordpress, WP pluggin, development issues More

$25 USD in 1 day
(3 Reviews)

I have worked on different nature of projects in C# including networking Relevant Skills and Experience C#.Net Network Programming Proposed Milestones $35 USD - I will provide you the complete source code and the bin More

$35 USD in 2 days
(2 Reviews)