comp.lang.ada
 help / color / mirror / Atom feed
* Ada program needs to ping another machine.
@ 2002-01-16 16:54 Preben Randhol
  2002-01-16 18:33 ` Gerhard Häring
                   ` (3 more replies)
  0 siblings, 4 replies; 24+ messages in thread
From: Preben Randhol @ 2002-01-16 16:54 UTC (permalink / 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/



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2002-01-18 21:32 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2002-01-17 10:37   ` Jerry van Dijk
2002-01-17  9:48 ` Peter Hermann

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