Modify c programming
$10-30 USD
Thanh toán khi bàn giao
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
ID dự án: #28384291
Về dự án
Được trao cho:
I can do ........................................................................................................
2 freelancer chào giá trung bình$140 cho công việc này
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 Thêm