C programming
- or -
Post a project like this- Posted:
- Proposals: 6
- Remote
- #1748479
- Expired
Description
2 codes server and client
and HTML web page where several clients can access to it at the same time
SOHIL Q.
100% (11)New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Salam Sohil,
Do you have any details on this implementation?
What will it be implemented for?
Do you want to use web sockets for it?
Thank youSOHIL Q.13 Oct 2017Yes,
The object of this exercise is to write a multi-threaded HTTP server, showing both your understanding of the networking API and also of the programming techniques required to leverage that API effectively.
Environment and tooling
These exercises should all be written in (preferably) C or (if you cannot program in C) Java. They should all run, unmodified, on the school's Linux teaching systems. If you develop on another platform, you should confirm that your code builds and runs on the school Linux machines.
Your program should access the socket interface directly. For C this is straightforward; for Java, you should use java.net.Socket, not one of the more abstract networking classes.
Main Exercise
You should write a web server which interacts correctly with a web browser, serving content from either the filesystem or a small database. It should provide an index page when visited with a null URI, and then correctly handle subsequent requests arises from clicking on the items in the index.
The program should be correctly multi-threaded, and handle multiple clients connecting rapidly in parallel.
Extra marks are available for implementing any of compression.