The WinSock library does not provide "ping" API function.
You need realise it by calling several WinSock APIs.
See the attached example code (ping.c) which demonstrates
typical PING program.
This c code can be found in www.microsoft.com by looking for
the keyword "Ping: SOCK_RAW in Winsock 2.0"
(Pass whole text with the double-quotations.)
Makoto
"truc" wrote in message
news:50650000000800000041180000-984882144000@quiq.com...
> Is there a library function to ping a device?
[Attachment ping.c, see below]
[See first answer for additional information]