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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f0972757f30880f7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-16 02:15:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: john@nospam.demon.co.uk (John McCabe) Newsgroups: comp.lang.ada Subject: Re: Sockets - newbie at a brick wall Date: Mon, 16 Dec 2002 10:16:33 GMT Message-ID: <3dfda7d1.4364125@news.demon.co.uk> References: NNTP-Posting-Host: pipehawk.demon.co.uk X-Trace: news.demon.co.uk 1040033749 10752 158.152.226.81 (16 Dec 2002 10:15:49 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Mon, 16 Dec 2002 10:15:49 +0000 (UTC) X-Newsreader: Forte Free Agent 1.21/32.243 Xref: archiver1.google.com comp.lang.ada:31881 Date: 2002-12-16T10:16:33+00:00 List-Id: On 13 Dec 2002 14:38:09 -0800, benjamin_place@hotmail.com (Benjamin Place) wrote: >Simon Wright wrote in message news:... >> You don't show any calls to GNAT.Sockets.Initialize. We found that >> leaving out this call made no (apparent) difference on Linux, but that >> it was necessary on Windows. No experience with MacOS! > >My code (version 2) works fine on OS X (or so it seems), but you're >right, it fails on Windows. > >The following code (version 3) works on Windows. The default parameter >on Windows is > > procedure Initialize (Process_Blocking_IO : Boolean := False); > >and this seems to work just fine. You can set it however you like in Windows, it's not used. Best Regards John McCabe To reply by email replace 'nospam' with 'assen'