Solved

http/1.0

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

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

680 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