comp.lang.ada
 help / color / mirror / Atom feed
From: "R. Srinivasan" <rajasrinivasan@cox.net>
Subject: Re: Ada program needs to ping another machine.
Date: Thu, 17 Jan 2002 03:13:58 GMT
Date: 2002-01-17T03:13:58+00:00	[thread overview]
Message-ID: <Wjr18.1507$vT4.277399@news1.east.cox.net> (raw)
In-Reply-To: slrna4bc3i.2cl.randhol+abuse@kiuk0156.chembio.ntnu.no

I have such an animal (sort of). I used AdaSockets with some modifications.
Unfortunately the version of AdaSockets on Linux available at that time was
not identical to the Windows version at least in the specifications. Perhaps
such issues have been ironed out now. I will be happy to send my copy of
"netmon" which can ping a list of host names in the same invocation if you
like.

I dont have it here but will have it tomorrow night. If anybody would like
to receive it please email me at r.srinivasan@cox.net (Remember however it
compiles/runs on Windows only).


"Preben Randhol" <randhol+abuse@pvv.org> wrote in message
news:slrna4bc3i.2cl.randhol+abuse@kiuk0156.chembio.ntnu.no...
> I'm making a small Ada program (on my spare time) that I want to be able
> to run from both Linux and Windows. The problem is it need to check if
> another machine is on or off and display this in a small GUI interface.
> I can do this by using the ping command on Linux, but I would rather
> learn how to do this from Ada. I'm not asking for a solution (of course
> if somebody has something they want to share it would be nice), but some
> hints on what I should read up on to find out how to do this. Can I use
> sockets for instance? I'm developing on Linux and I don't have much clue
> about Windows programming so I would like to make this as portable as
> possible (that is, just recompiling in windows would be nice).
>
> Eventually it would be nice to evolve the program into a talk program (a
> program where one write simultaneously on a split screen) as the wintalk
> program is rather unstable and I would hope Ada could increase
> security.
>
> Preben
> --
>  ()   Join the worldwide campaign to protect fundamental human rights.
> '||}
> {||'                                           http://www.amnesty.org/





  parent reply	other threads:[~2002-01-17  3:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-16 16:54 Ada program needs to ping another machine Preben Randhol
2002-01-16 18:33 ` Gerhard Häring
2002-01-16 20:55 ` Stephen Leake
2002-01-16 22:00   ` Preben Randhol
2002-01-16 22:22     ` Jim Rogers
2002-01-16 22:43     ` Jeffrey Carter
2002-01-17  9:04       ` Preben Randhol
2002-01-18 12:21     ` Adrian Knoth
2002-01-18 13:28       ` Preben Randhol
2002-01-18 21:32         ` Adrian Knoth
2002-01-17 16:36   ` Frank
2002-01-17 17:08     ` Darren New
2002-01-17 18:50     ` Preben Randhol
2002-01-17 20:44       ` Johannes Grødem
2002-01-17 21:43         ` Florian Weimer
2002-01-17 22:31           ` Johannes Grødem
2002-01-17 20:56       ` Gisle Sælensminde
2002-01-18 10:05         ` Preben Randhol
2002-01-18 17:37       ` Pascal Obry
2002-01-18 18:05         ` Preben Randhol
2002-01-18 18:24           ` Pascal Obry
2002-01-17  3:13 ` R. Srinivasan [this message]
2002-01-17 10:37   ` Jerry van Dijk
2002-01-17  9:48 ` Peter Hermann
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox