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,a79652a22930869 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-16 14:22:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.cwix.com!wn2feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3C45FD15.9080803@worldnet.att.net> From: Jim Rogers User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada program needs to ping another machine. References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 16 Jan 2002 22:22:03 GMT NNTP-Posting-Host: 12.86.37.59 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1011219723 12.86.37.59 (Wed, 16 Jan 2002 22:22:03 GMT) NNTP-Posting-Date: Wed, 16 Jan 2002 22:22:03 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:18984 Date: 2002-01-16T22:22:03+00:00 List-Id: Preben Randhol wrote: > On 16 Jan 2002 15:55:56 -0500, Stephen Leake wrote: > >>Get the C source for ping from the Linux distribution, and either >>pragma Import some of it, or translate it all to Ada. >> > > Yes I can do that, though I would perfer not to have anything in C (I > don't have a C compiler for windows among other things). If you have GNAT for windows, you also have the gcc compiler for windows. Even without the C compiler, you can link existing C libraries to Ada using pragma Import and pragma Linker_Options. Jim Rogers