comp.lang.ada
 help / color / mirror / Atom feed
From: Preben Randhol <randhol+abuse@pvv.org>
Subject: Ada program needs to ping another machine.
Date: Wed, 16 Jan 2002 16:54:18 +0000 (UTC)
Date: 2002-01-16T16:54:18+00:00	[thread overview]
Message-ID: <slrna4bc3i.2cl.randhol+abuse@kiuk0156.chembio.ntnu.no> (raw)

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/



             reply	other threads:[~2002-01-16 16:54 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-16 16:54 Preben Randhol [this message]
2002-01-16 18:33 ` Ada program needs to ping another machine 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
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