Modify c programming

Completed Posted 3 years ago Paid on delivery
Completed Paid on delivery

Write a web-server process that replies to HTTP GET requests involving html files in the current directory where you process is started. Example of the type of GET requests your process will get is shown toward the end. Your process will receive a (TCP) port as an argument where it must accept and server incoming TCP connections.

You should be able to test your server using your web browser and pointing it to the server (i.e. [login to view URL]:YourPortNumberLinks to an external site.)

When testing we will provide the html file your server will use so you just submit your C code.

Your code will implement a TCP server that accepts connections at a port specified via command line argument -p. Once it received an incoming connection your server will have to read the incoming request and parse the HTTP GET request and then return the requested file (i.e. [login to view URL]). If file does not exist, your program must return a proper HTTP error code for this condition. You must support this for HTTP 1.1 and HTTP 1.0

C Programming C++ Programming C# Programming PHP Software Architecture

Project ID: #28384291

About the project

2 proposals Remote project Active 3 years ago

Awarded to:

sayanthanpera

I can do ........................................................................................................

$80 USD in 2 days
(55 Reviews)
4.8

2 freelancers are bidding on average $140 for this job

greatswork

Hello, I have reviewed the project description, I have worked on similar projects and I am sure that I can exceed your expectations by providing you with quality work. I have 10 years of experience and I am an expert p More

$200 USD in 1 day
(18 Reviews)
5.2