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=0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,963021d014ce398e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-06 07:05:23 PST Path: supernews.google.com!sn-xit-02!supernews.com!isdnet!psinet-france!psiuk-f4!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Sockets and NT Date: Tue, 6 Mar 2001 09:52:38 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <982tkt$kiv$1@nh.pace.co.uk> References: <200136-0051-32781@foorum.com> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 983890397 21087 136.170.200.133 (6 Mar 2001 14:53:17 GMT) X-Complaints-To: newsmaster@pace.co.uk NNTP-Posting-Date: 6 Mar 2001 14:53:17 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: supernews.google.com comp.lang.ada:5465 Date: 2001-03-06T14:53:17+00:00 List-Id: On my web page, I have some sample code that uses sockets under WinNT. Go to http://www.mcondic.com/ and look for "Ada Programming" and you'll find it. I don't consider it to be a bulletproof subsystem, but it will at least illustrate how you get there from Ada. Note that this is dependent on GNAT - or at least presumes that your Ada compiler provides the package Win32.Winsock as part of the distribution. (Also, you'll need the linker directives either as a pragma or at the command line if you are using GNAT.) If you have that package available you should be able to make very similar calls to Windows as you would to Unix to use sockets. Hope this helps. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Jacques Croizat" wrote in message news:200136-0051-32781@foorum.com... > Hello, > I Want to use socket communication in > Ada programs. > I had a look into > http://www.adapower.com and I found > good materials from > http://www-inf.enst.fr/ANC/ that work fine > in a Unix platform. > Now I want to make it work with Windows > NT. I succeeded in producing an > executable for NT but the execution fails: I > cannot create a socket. > Thank you for any help. > > __________________________________________________________ > Ce message a �t� post� via la plateforme Web club-Internet.fr > This message has been posted by the Web platform club-Internet.fr > > http://forums.club-internet.fr/