ping source or something similar?

I need to test a tcpip/ip connection between a client and a server. How can
I do something like ping in a c++ program whithout doing a spwan. Is there
any network fonction call that can help. I need to know if my client machine
is still connected to the network.
Thanks

“Rejean Senecal” <rsenecal@oerlikon.ca-no-spam> wrote in
news:a7nsqe$liv$1@inn.qnx.com:

I need to test a tcpip/ip connection between a client and a server. How
can I do something like ping in a c++ program whithout doing a spwan.
Is there any network fonction call that can help. I need to know if my
client machine is still connected to the network.
Thanks

Check out Steven’s book on Network programming (TCP/IP) he makes a very
basic ping util.

\

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>