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-13 05:51:55 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!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: Fri, 13 Dec 2002 13:52:35 GMT Message-ID: <3df9e3d4.11264567@news.demon.co.uk> References: NNTP-Posting-Host: pipehawk.demon.co.uk X-Trace: news.demon.co.uk 1039787514 19352 158.152.226.81 (13 Dec 2002 13:51:54 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Fri, 13 Dec 2002 13:51:54 +0000 (UTC) X-Newsreader: Forte Free Agent 1.21/32.243 Xref: archiver1.google.com comp.lang.ada:31786 Date: 2002-12-13T13:52:35+00:00 List-Id: On 13 Dec 2002 11:31:49 +0000, Simon Wright wrote: >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 updates to Ben's original shows these, although I'm not 100% sure that I've set the Process_Blocking_IO parameter correctly. Actually, on Windows, Initialize in GNAT.Sockets.Thin doesn't use the Process_Blocking_IO parameter, all it really does is call WSAStartup. Still, it really should be there anyway, as should Finalize really (I've missed that one out!). Best Regards John McCabe To reply by email replace 'nospam' with 'assen'