Hi Jalindar,

Le 09/11/2012 08:51, JALINDAR a écrit :
I want to ping IP addresses and grab the respond to save it if it is received within the time bound.
It must be similar to command line ping.

how should I do it?

I do not think that libcurl is the right library to do this. From the web page, http://curl.haxx.se/:

"curl is a command line tool for transferring data with URL syntax " [snip...]

ping is not used to transfer data. You should look at an actual ping implementation (eg in busybox) or search for a ping example from where to start.


Maxime
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to