LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: A ping function

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]
0 Kudos
Message 1 of 2
(2,771 Views)
[Attachment(s) for question]
Message 2 of 2
(2,771 Views)