Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

http/1.0

Posted on 2003-10-24
4
Medium Priority
?
260 Views
Last Modified: 2010-04-11
I need code for http/1.0.The code should be in
c or c++ to be compiled by gcc.From where i can get that ?
0
Comment
Question by:rajivkr_iiita
  • 2
4 Comments
 
LVL 31

Accepted Solution

by:
qwaletee earned 375 total points
ID: 9614411
Apache.  That's it.  You get the whole web server, source code and all.  Look for an old version if you want something relatively simple.
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9614426
Or are you looking for code that retrieves from HTTP?  That's incredibly easy -- you open a socket on port 80 to whatever host you want, and issue basic HTTP headers:

GET /relativeUrlPath HTTP/1.0
HOST: UsuallyDoesNotMatter

Then a black line, and wait for response.  You can add other headers if you like, but they are not typically needed.
0
 

Author Comment

by:rajivkr_iiita
ID: 9614438
I need code for server.
0
 
LVL 18

Expert Comment

by:liddler
ID: 9614475
As qwaletee said Apache is the server - download it from http://httpd.apache.org/download.cgi
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question