=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 manpage) and call L on each host. =head1 RETURN VALUE B returns the value of echo replies received or a value less than zero if an error occured. 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 Eocto at verplant.orgE. It's homepage can be found at L. (c) 2005, 2006 by Florian octo Forster.