Find Jobs
Hire Freelancers

Basic HTTP Server (for class work)

$30-250 USD

Abgeschlossen
Veröffentlicht vor mehr als 13 Jahren

$30-250 USD

Bezahlt bei Lieferung
It must develop a http server that is at least able to address some of the most common requests made by Web browsers. C ++ is the programming language used. HTTP uses TCP as the transport protocol. The program will only receive the TCP port that will serve the client connections. REQUIREMENTS: - It must be a multithreaded server: Able to meet multiple demands simultaneously, each connection with a client will be associated with a thread. - Connection accepted: The server will accept only those requests with the GET method. As a result, the server must send the selected object. If the object is not on the server, then it will respond with HTTP error message like "Not found" (code 404). All requests to include any method other than GET, will output a HTTP error message such as "Not implemented" (Code 501). - Version accepted: The server will only accept requests that use version 1.0 or 1.1 of the HTTP protocol. Requests to use any other version will cause the sending of an HTTP error message such as "HTTP Version Not Supported" (Code 505). - Connections must be persistent. - Conditional Requests: HTTP allows conditional requests, which are those in which only return the requested object when it has been modified from that date. Otherwise, the server simply sends an HTTP response message such as "Not Modified" (Code 304). - Control access to objects: Before returning the requested object, the server must check whether the client has permission to access that object. If you do not have the required permissions the server will respond with HTTP error message like "Forbidden" (Code 403) -------------------------------------------------- -------------------------------------------------- The server must use the mechanism of sockets to communicate with their clients. To facilitate the things, I provide a class named "Thread". The procedure for creating new topics from this class is as follows. First you must declare a new class derived from the "Thread" class. Then you must declare a function named Run () to the new class. This function contains the code that will run the threads. Finally, to start a new thread, call the "Start" function of a derived class object. This feature allows you to also pass a parameter to the thread. The thread can access to this parameter using the function Arg (). The server needs to work under Ubuntu and compile with gcc or g++. The code has to be in one file called [login to view URL] or [login to view URL] The command to run the server needs to be: ./server [port number] ------------------------------ That's all, read the PDF and the attached files for examples (some files in spanish)
Projekt-ID: 903417

Über das Projekt

14 Vorschläge
Remote Projekt
Aktiv vor 13 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
Hola vecino. Check PM.
$40 USD in 5 Tagen
5,0 (1 Bewertung)
1,2
1,2
14 Freelancer bieten im Durchschnitt $110 USD für diesen Auftrag
Avatar des Nutzers
I can deliver this asap
$155 USD in 4 Tagen
4,8 (58 Bewertungen)
6,0
6,0
Avatar des Nutzers
Hello, Please check your inbox
$100 USD in 2 Tagen
4,9 (29 Bewertungen)
5,0
5,0
Avatar des Nutzers
Dear sir, I am proficient in C+ programming especially in network programming. I am familiar with networking protocal like HTTP, FTP, SMTP and etc. I have used socket programming in many commercial C++ projects and in some client/server game application. I have studies HTTP protocal in details. I can show you demos about my past projects. I can do the project with high quality. Wait for your response:) Thank you, BR
$200 USD in 5 Tagen
4,9 (13 Bewertungen)
4,7
4,7
Avatar des Nutzers
Buenas, te envie un mensaje privado. Saludos!
$125 USD in 5 Tagen
4,9 (17 Bewertungen)
4,5
4,5
Avatar des Nutzers
Hello, I am a professional C/C++ developer willing to do this job for you. Please check PM. Regards, TheWiseOne
$45 USD in 5 Tagen
5,0 (8 Bewertungen)
4,1
4,1
Avatar des Nutzers
Hi, Fairly easy project. i can do it with good program structure & code indentation. let me know, Angad.
$100 USD in 2 Tagen
5,0 (3 Bewertungen)
4,2
4,2
Avatar des Nutzers
Hello, I´d love to work on your project. ;) Satisfaction guaranteed.
$150 USD in 7 Tagen
5,0 (7 Bewertungen)
3,8
3,8
Avatar des Nutzers
Ready to complete this. see inbox
$50 USD in 3 Tagen
5,0 (2 Bewertungen)
1,9
1,9
Avatar des Nutzers
It's not hard for me. Please check PMB.
$150 USD in 5 Tagen
5,0 (1 Bewertung)
1,9
1,9
Avatar des Nutzers
Hi, Pl check PM.
$50 USD in 3 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
Create Http Server in c, which work on internet
$100 USD in 40 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
I can do it without bugs.
$220 USD in 30 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
sir, It have been use to these things this is my daily task and easy one for me. One more thing, i think u are paying to much for it. This task is an easy one.
$60 USD in 5 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von SPAIN
Ribeira, Spain
5,0
3
Mitglied seit Sept. 30, 2010

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.