The gethost* (e.g. gethostbyaddr) functions document that if h_errno is supported by C, h_errno is returned in $? if a call fails. I would like to ascribe meaning to the returned value.
Where are the symbolic values (e.g. from C's netdb.h) such as TRY_AGAIN and HOST_NOT_FOUND defined in Perl? Is there a hstrerror() equivalent?
Thanks.
This communication may not represent my employer's views, if any, on the matters discussed.
In reply to h_errno constants? by tlhackque
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |