Linux does not provide any routines for ping. Some languages like perl gives. If u want to develop any code, create an ICMP packet and send it through raw socket since ICMP works at IP layer. -Vinay On 7/21/05, Garcia Jérémie <GARCIAJ@xxxxxx> wrote: > Hi everybody, > I'm a linux newbie and I need some help. > I hope this question is not too stupid but I can't find any piece of info on the web. > I want to develop a C code in which one I need to do a "ping" test ant then do FTP transfer. > Some OS as VxWorks offers a library to do that (pingLib & ftpLib). Does Linux is able to > give the same features? > If not how can I achieve that goal? > > ps: there is the "system()" command but it is too restrictive. So any other idea? > > Tks a lot for your precious help > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/