scsh-users
[Top] [All Lists]

need help working around herrno != 0 in address->host-info

To: scsh@martigny.ai.mit.edu
Subject: need help working around herrno != 0 in address->host-info
From: smd@chops.icp.net (Sean Doran)
Date: 04 Jan 1996 03:11:35 -0500
Organization: SprintLink Engineering
Is there any way to intercept the 
             (error "address->host-info: non-zero herrno ~s ~s" name herrno)
whenever the address doesn't have a IN-ADDR.ARPA mapping?

That is, if I do:

        (host-info (internet-address->socket-address #x07000001 0)) 

and there is no 1.0.0.7.in-addr.arpa. PTR RR (there
isn't), how can I avoid things grinding to a halt, by
catching the error or something?

I'd love a quick and dirty hack, as otherwise I'll
probably do really ugly and disgusting things that
will be far from elegant. :(

        Sean.


<Prev in Thread] Current Thread [Next in Thread>