comp.lang.ada
 help / color / mirror / Atom feed
From: Craig Carey <research@ijs.co.nz>
Subject: Re: Sockets Example
Date: Sat, 17 Apr 2004 06:17:27 +1200
Date: 2004-04-17T06:17:27+12:00	[thread overview]
Message-ID: <d480801p43h6dlnc6tm7snbhvedandtmir@4ax.com> (raw)
In-Reply-To: baBec.123011$K91.336222@attbi_s02

On Mon, 12 Apr 2004 18:25:11 GMT, tmoran@acm.org wrote:

>>> Could anybody explain to me how you'd go about querying a http server
>>> and getting a response? Even retrieve a specific file?
>>

I have some simple Ada 95 code to parse HTTP/1.0 headers, here:

  http://www.ijs.co.nz/code/ada95_ptunnel_proxy_1.95b_win2k_unix.zip

It was not nicely packaged up. [Missing parts of the entire proxy easily
could be available].

In there is a small bind-socket subroutine that binds twice: firstly
exclusively, and when that fails, then in a sharing mode [i.e. then
ineffectively up until when the other program lets go of that local
socket].


>>[AWS:] http://libre.act-europe.fr/aws/main.html
>[Simplsrvr:] www.rrsoftware.com




--  Craig Carey   http://www.ijs.co.nz/ada_95.htm





  parent reply	other threads:[~2004-04-16 18:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-11 19:39 Sockets Example wave
2004-04-12  4:01 ` tmoran
2004-04-12 10:52   ` wave
2004-04-12 10:54   ` wave
2004-04-12 17:16 ` Marc A. Criley
2004-04-12 18:25   ` tmoran
2004-04-12 19:00     ` Jano
2004-04-13  7:54     ` Pascal Obry
2004-04-16 18:17     ` Craig Carey [this message]
2004-04-13 12:31 ` Gorazd Bozic
2004-04-16 23:38 ` wave
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox