comp.lang.ada
 help / color / mirror / Atom feed
From: gbx@email.si (Gorazd Bozic)
Subject: Re: Sockets Example
Date: Tue, 13 Apr 2004 12:31:30 +0000 (UTC)
Date: 2004-04-13T12:31:30+00:00	[thread overview]
Message-ID: <c5gmj2$qjb$1@planja.arnes.si> (raw)
In-Reply-To: 4d01ad29.0404111139.58cd3e55@posting.google.com

In article <4d01ad29.0404111139.58cd3e55@posting.google.com>,
wave <mutilation@bonbon.net> wrote:
> 
> Could anybody explain to me how you'd go about querying a http server
> and getting a response? Even retrieve a specific file? The code I'm
> trying to use below isnt working as I'd of expected it too, and I know
> it's probably not even remotely close to how it should be!
...
>    Create_Socket (Socket, Family_Inet, Socket_Datagram);

HTTP is used over TCP and not UDP. Try Socket_Stream instead of 
Socket_Datagram.

Gorazd

-- 
Gorazd Bozic <gbx@email.si>



  parent reply	other threads:[~2004-04-13 12:31 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
2004-04-13 12:31 ` Gorazd Bozic [this message]
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