Find Jobs
Hire Freelancers

Develop a multi-threaded web server

$240-2000 HKD

Closed
Posted over 10 years ago

$240-2000 HKD

Paid on delivery
Objective: In this project, we will study how to write socket programming. In addition, we also study a real world protocol of HTTP. Task: Develop a multi-threaded web server. You can develop your code in two stages. In the first stage, you simply displays the contents of the HTTP request messages that your web server receive. After this is running properly, you will add the code to generate an appropriate response. The web server needs a log file to record statistics of the client requests. Each request corresponds to one line in the log. Write down client hostname/IP address, access time, requested file name and response type. Your web-server also needs to handle some simple errors, such as web-page not found. You may run the server on your own computer, using the IP address of 127.0.0.1. Define your own port number (don't use 80). A single thread web-server will get partial mark. You can use either Java or C/C++. Your code should be commented appropriately. Include a READMET text file of how to compile and run your program. I would expect to see your server to handle the following ONLY (marks will be deducted if you have more): 1. two request methods, GET, HEAD 2. three respond types, 200 OK, 400 Bad Request, 404 File Not Found 3. handle Last-Modified field and If-Modified-Since header
Project ID: 5172294

About the project

19 proposals
Remote project
Active 10 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
19 freelancers are bidding on average $1,338 HKD for this job
User Avatar
I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the lauguage is c++ under linux os. So, programming in c++ is never a problem. I used c++ to make many great projects, for example, I made the tools which can convert java files to c++ with the same meaning, ofcourse garbage collection included. I made our own mobile game using c++, I even can show you the demo of client. Trust me, please let expert help you.
$1,944 HKD in 5 days
4.7 (45 reviews)
5.5
5.5
User Avatar
Hello, I already worked on a multithreaded HTTP server written in C(for windows but it can be converted to compile on UNIX) as part of a demonstration project for another employer so I will be able to provide working code extremely fast. Thank you, Johhny
$1,600 HKD in 7 days
5.0 (10 reviews)
4.8
4.8
User Avatar
Hi! I have done a similar task in the past in Java. What will I deliver, My web server will be coded in Java, it will run on a host and a port which can be configured from a config file. Proper logs will be displayed for each client request, their host, IP address, the type of request etc. There will be a server directory which will contain all the files of the webserver, which can be viewed on client that is web browser. The server will be able to handle multiple threads, that is it can serve many client simultaneously, It will perfectly handle GET and HEAD requests as you need, but if later you tell me to incorporate POST, DELETE, OPTIONS HTTP request, I will do that too. If a request for a file is not successful, then proper HTTP response will be sent to the client of HTTP 400, File Not Found. I will handle last modified and if modified since header, perfectly. We can discuss anything if you need from my side. I am open to answer and discus any questions you might have. Thank You!
$1,500 HKD in 7 days
5.0 (16 reviews)
4.7
4.7
User Avatar
I am very proficient in Java and network programming and have plenty of experience working with Java sockets and the HTTP protocol and its extensions. Implementing the simplified HTTP server as described will be a piece of cake. I can deliver clean, thoroughly commented code that follows solid OOP design principles. To give you a rough sketch of one approach we might take, the server can be separated into various components: -handling of connections -parsing/constructing requests/responses -filters for modifying requests/responses (e.g. logging) -the handlers for the various HTTP methods Since this is a simplified server, each component in this case would be relatively easy to write. My understanding is that you are required to use only the Java core API, but please send me any additional specifications you might have.
$888 HKD in 8 days
5.0 (7 reviews)
4.1
4.1
User Avatar
Hi, I am working with a MNC & have 5 yrs of experience in JAVA development. I have gone through your project requirements & i have strong experience of Socket Product development. I have delivered multiple projects as freelancer in different areas like Web-scrapping, Portal development, Server socket communication, Web service integration & Web application security using following technologies stack: Spring IOC, Spring AOP, Spring Web service, Solr, HTML unit, Advance JAVA, Core JAVA, JQuery, Java Script, CSS,RMI, EJB & HTML. I can ensure you for quality delivery within the timelines. Looking for your positive response. Thanks
$1,388 HKD in 8 days
4.9 (2 reviews)
3.8
3.8
User Avatar
Hello There, I am expert in Java. I can do these task as per your requirement. If you want to see my work then you can check my reviews. I only take projects which i can complete. I guarantee to complete the code in a neat and well formatted and will also explain that how it really works if you don't get it. Looking forward for your reply. Thanks
$1,000 HKD in 3 days
4.9 (7 reviews)
3.7
3.7
User Avatar
Hello, I am capable to do your request. If your decision is to choose me, I able to provide a small example in 3-4 days. Regards
$416 HKD in 15 days
4.3 (4 reviews)
3.5
3.5
User Avatar
Hi, I'm bidding on this project again. Thanks. ______________________________________________________________________________________________________________________________
$280 HKD in 2 days
5.0 (5 reviews)
2.6
2.6
User Avatar
Hello sir , I am a professional freelancer in the field of image processing and communication system . Please do consider my bid and allow me a chance to work on this project . If you have any queries please do let me know i will be grateful to answer them With regards , N L Ramachandrachudamani
$2,222 HKD in 15 days
3.6 (2 reviews)
2.0
2.0
User Avatar
I have experience of writing multithreaded socket programs being a student of the prestigious Indian Institute of Technology. Thanking you in anticipation
$555 HKD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
hi,this is nasir mehmood. i am software engineer and have more than 18 years of development experience in desktop,embedded systems, web design, graphics and mobile applications. i have extensive knowledge of working with assembly, ARM assembly, c, c++, visual c++, vb .net and java. most of my work is based with all flavors of c language to build desktop and embedded systems.i offer you my expertise for your solution. if you are interested in working with me then feel free to contact me further queries. thanks
$2,222 HKD in 15 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have more experiences in java develop with client/server model, multi thread, and socket. I hope to serve your project.
$833 HKD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Dear Sir Hi, Greetings of the day and thanks for sharing these details and allowing me to bid on this assignment. yes we have similar experience and can deliver u as u have mentioned in your requirements. we already have similar work experience and have worked on similar projects in the past and can deliver u as u have specified in your requirements I have checked your requirements. We have right skills to work on this assignment. We are a team of professionals including experienced analysts, designers, project managers, developers and QA people having great expertise in web applications development mainly on core PHP, PHP with open sources (Joomla, Wordpress, Codeigniter, Cake PHP), .NET, Asp.NET, Vb.NET, HTML 5 etc. and mobile applications on ios and Android platform. can u provide your contact details for further discussion about the project I am ready to discuss with you Regards
$1,154 HKD in 21 days
0.0 (1 review)
0.0
0.0
User Avatar
I did a similar project in M.Tech. Also I've experience with embedded web server. I did projects in socket programming, multi- thread applications, chat servers etc. I can do it in 2 days in C. I almost have the code only requires some minor changes. Programming Language - C Compiler - GCC OS Platform - Linux HTTP Client(Used for testing) - Mozilla Firefox and addons available with it Needs some clarification. Whether multi- threading needs thread pool?
$693 HKD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality. I'm a college student and offer with low cost and high quality.
$280 HKD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I coded a mail server for a university subject last year, it was also required to be multithreaded preventing race conditions, via the use of semaphores and mutexs, as well as produce logs. I have lots of experience with Java and C and Socket programming as well as programming for academics, if there's anything else you need to know feel free to contact me for a talk! Cheers, Benedict Hobart
$1,333 HKD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of HONG KONG
Hong Kong
0.0
0
Member since Nov 27, 2013

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.