=head1 NAME ping_send - Send ICMP echo requests to all associated hosts and wait for ICMP echo responses to arrive =head1 SYNOPSIS #include int ping_send (pingobj_t *obj); =head1 DESCRIPTION The B method is the actual workhorse of this library. It crafts ICMP packets for the hosts associated with I and sends them via the corresponding sockets. It then waits for echo responses and receives them, writing latency information for each host. The method returns after all echo replies have been read or the timeout (set with L) is reached. After this function returns you will most likely iterate over all hosts using L and ping_iterator_next (described in the same manual page) and call L on each host. =head1 RETURN VALUE B returns the number of echo replies received or a value less than zero if an error occurred. Use L to receive an error message. =head1 SEE ALSO L, L, L, L, L, L =head1 AUTHOR liboping is written by Florian "octo" Forster Eff at octo.itE. Its homepage can be found at L. Copyright (c) 2005-2011 by Florian "octo" Forster.