Solved

http/1.0

Posted on 2003-10-24
4
254 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 125 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Upgrade firmware on Engenius BH-ENS202Wi-Fi router 5 39
What Can't I Connect by FTP??? 27 98
eigrp routing loop 5 41
EIGRP - redistribute without the default route 5 36
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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.

776 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