| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: Perl, English, syntax for Scheme and shells (was Re: scsh in scm ...), Curtis Bartley |
|---|---|
| Next by Date: | Re: Perl, English, syntax for Scheme and shells (was Re: scsh in scm ...), Darius Bacon |
| Previous by Thread: | Perl, English, syntax for Scheme and shells (was Re: scsh in scm ...), Paul Wilson |
| Next by Thread: | Re: need help working around herrno != 0 in address->host-info, Sean Doran |
| Indexes: | [Date] [Thread] [Top] [All Lists] |