X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmans%2Fping_iterator_get_info.pod;h=e1cd24fb4b37c2f02c8ee5335dc6eacab8138fdb;hb=f18a010df6419bb4908823ca4d713835d1adb0c1;hp=1d4e8cf212c2d47ff8240b970afb7620cddc63fa;hpb=cc9cb1487db0e8b93472854e1b0e9de4d4620636;p=liboping.git diff --git a/src/mans/ping_iterator_get_info.pod b/src/mans/ping_iterator_get_info.pod index 1d4e8cf..e1cd24f 100644 --- a/src/mans/ping_iterator_get_info.pod +++ b/src/mans/ping_iterator_get_info.pod @@ -1,6 +1,6 @@ =head1 NAME -ping_iterator_get_info - Constructor for the liboping class +ping_iterator_get_info - Receive information about a host =head1 SYNOPSIS @@ -35,7 +35,7 @@ to C, too. Return the hostname of the host the iterator points to. Since the name is looked up using the socket address this may differ from the hostname passed to L. The hostname is actually looked up every time you call -this method, no cache is involved within liboping. +this method, no cache is involved within I. It is recommended to include C and allocate B bytes of buffer. @@ -49,12 +49,12 @@ won't hurt. =item B -Returns the address family of the host. The buffer should be ig enough to hold +Returns the address family of the host. The buffer should be big enough to hold an integer. The value is either B or B. =item B -Return the last measured latency or less than zero if the timeout occured +Return the last measured latency or less than zero if the timeout occurred before a echo response was received. The buffer should be big enough to hold a double value. @@ -103,6 +103,17 @@ If the requested information didn't fit into I then the size that would have been needed is written into I; I itself is left untouched. The return value is B in this case. +=head1 KNOWN BUGS + +=over 4 + +=item + +B is not available under Debian Etch due to a missing +define in the header files. + +=back + =head1 SEE ALSO L,