Find Jobs
Hire Freelancers

Basic HTTP Server (for class work)

$30-250 USD

Completed
Posted about 13 years ago

$30-250 USD

Paid on delivery
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)
Project ID: 903417

About the project

14 proposals
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hola vecino. Check PM.
$40 USD in 5 days
5.0 (1 review)
1.2
1.2
14 freelancers are bidding on average $110 USD for this job
User Avatar
I can deliver this asap
$155 USD in 4 days
4.8 (58 reviews)
6.0
6.0
User Avatar
Hello, Please check your inbox
$100 USD in 2 days
4.9 (29 reviews)
5.0
5.0
User Avatar
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 days
4.9 (13 reviews)
4.7
4.7
User Avatar
Buenas, te envie un mensaje privado. Saludos!
$125 USD in 5 days
4.9 (17 reviews)
4.5
4.5
User Avatar
Hello, I am a professional C/C++ developer willing to do this job for you. Please check PM. Regards, TheWiseOne
$45 USD in 5 days
5.0 (8 reviews)
4.1
4.1
User Avatar
Hi, Fairly easy project. i can do it with good program structure & code indentation. let me know, Angad.
$100 USD in 2 days
5.0 (3 reviews)
4.2
4.2
User Avatar
Hello, I´d love to work on your project. ;) Satisfaction guaranteed.
$150 USD in 7 days
5.0 (7 reviews)
3.8
3.8
User Avatar
Ready to complete this. see inbox
$50 USD in 3 days
5.0 (2 reviews)
1.9
1.9
User Avatar
It's not hard for me. Please check PMB.
$150 USD in 5 days
5.0 (1 review)
1.9
1.9
User Avatar
Hi, Pl check PM.
$50 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Create Http Server in c, which work on internet
$100 USD in 40 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I can do it without bugs.
$220 USD in 30 days
0.0 (0 reviews)
0.0
0.0
User Avatar
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 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of SPAIN
Ribeira, Spain
5.0
3
Member since Sep 30, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.