Solved

http/1.0

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IPv6 and IPv4 Subnetting scheme 4 47
Cisco WAP POE power 28 121
Powerline adapter slow Mbps? 38 169
Ping and real time 48 53
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

860 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