From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,653092a494425539 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-04-13 05:31:30 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!t-online.de!irazu.switch.ch!switch.ch!kanja.arnes.si!planja.arnes.si!not-for-mail From: gbx@email.si (Gorazd Bozic) Newsgroups: comp.lang.ada Subject: Re: Sockets Example Date: Tue, 13 Apr 2004 12:31:30 +0000 (UTC) Organization: ARNES Message-ID: References: <4d01ad29.0404111139.58cd3e55@posting.google.com> NNTP-Posting-Host: rzenik.arnes.si X-Trace: planja.arnes.si 1081859490 27243 193.2.1.232 (13 Apr 2004 12:31:30 GMT) X-Complaints-To: abuse@arnes.si NNTP-Posting-Date: Tue, 13 Apr 2004 12:31:30 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: xmas@arnes.si (Gorazd Bozic) Xref: archiver1.google.com comp.lang.ada:7047 Date: 2004-04-13T12:31:30+00:00 List-Id: In article <4d01ad29.0404111139.58cd3e55@posting.google.com>, wave 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