Find Jobs
Hire Freelancers

Basic HTTP Server (for class work)

$30-250 USD

已完成
已发布超过 13 年前

$30-250 USD

货到付款
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)
项目 ID: 903417

关于此项目

14提案
远程项目
活跃13 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hola vecino. Check PM.
$40 USD 在5天之内
5.0 (1条评论)
1.2
1.2
14威客以平均价$110 USD来参与此工作竞价
用户头像
I can deliver this asap
$155 USD 在4天之内
4.8 (58条评论)
6.0
6.0
用户头像
Hello, Please check your inbox
$100 USD 在2天之内
4.9 (29条评论)
5.0
5.0
用户头像
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 在5天之内
4.9 (13条评论)
4.7
4.7
用户头像
Buenas, te envie un mensaje privado. Saludos!
$125 USD 在5天之内
4.9 (17条评论)
4.5
4.5
用户头像
Hello, I am a professional C/C++ developer willing to do this job for you. Please check PM. Regards, TheWiseOne
$45 USD 在5天之内
5.0 (8条评论)
4.1
4.1
用户头像
Hi, Fairly easy project. i can do it with good program structure & code indentation. let me know, Angad.
$100 USD 在2天之内
5.0 (3条评论)
4.2
4.2
用户头像
Hello, I´d love to work on your project. ;) Satisfaction guaranteed.
$150 USD 在7天之内
5.0 (7条评论)
3.8
3.8
用户头像
Ready to complete this. see inbox
$50 USD 在3天之内
5.0 (2条评论)
1.9
1.9
用户头像
It's not hard for me. Please check PMB.
$150 USD 在5天之内
5.0 (1条评论)
1.9
1.9
用户头像
Hi, Pl check PM.
$50 USD 在3天之内
0.0 (0条评论)
0.0
0.0
用户头像
Create Http Server in c, which work on internet
$100 USD 在40天之内
0.0 (0条评论)
0.0
0.0
用户头像
I can do it without bugs.
$220 USD 在30天之内
0.0 (0条评论)
0.0
0.0
用户头像
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 在5天之内
0.0 (0条评论)
0.0
0.0

关于客户

SPAIN的国旗
Ribeira, Spain
5.0
3
会员自9月 30, 2010起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。