X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fmans%2Fping_iterator_get_info.pod;h=e1cd24fb4b37c2f02c8ee5335dc6eacab8138fdb;hb=2458a7a14f8015412c52a2edf59bbf2fdc746ba6;hp=d84c111371a433e3e8ef26bf323502506f7ade65;hpb=6995e2cfd517af456904db26b7781b4953feeacc;p=liboping.git diff --git a/src/mans/ping_iterator_get_info.pod b/src/mans/ping_iterator_get_info.pod index d84c111..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 @@ -24,12 +24,18 @@ following defines: =over 4 +=item B + +Return the hostname of the host the iterator points to as supplied by the user. +This is the name you passed to L and which you need to pass +to C, too. + =item B 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. @@ -43,15 +49,22 @@ 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. +=item B + +Return the number of times that no response was received within the timeout. +This value is only increased but may wrap around at the 32Ebit boundary. +The buffer should be big enough to hold a 32Ebit integer, e.Eg. an +C. + =item B Return the last sequence number sent. This number is increased regardless of @@ -60,8 +73,15 @@ echo responses being received or not. The buffer should hold an integer. =item B Return the ident that is put into every ICMP packet sent to this host. Per -convention this usually is the PID of the sending process, but since liboping -can handle several hosts in parallel it uses a (pseudo-)random number here. The +convention this usually is the PID of the sending process, but since +I can handle several hosts in parallel it uses a (pseudo-)random +number here. The buffer should be big enough to hold an integer value. + +=item B + +Returns the I