Blair,
> > Could WSockLibrary>>gethostbyname: be changed to an overlap call, (and
> > HOSTENT(class) be modified to use SocketError signalWith: Processor
> > activeProcess lastError).
> >...
>
> Of course, unless anyone else has any objections (Bill?).
I think it's a great idea. We've been doing this with #connect for some
time, so I think we should give it a shot. My only complaint would be that
this might not be enough - I'd like to see all DNS lookups (number from name
as well as name from number) be overlapped.
I started to hack a solution to this a few times, and never really got going
because: (1) it's more complicated than #connect; (2) DNS problems are much
less common than problems reaching a peer PC; (3) see the next paragraph.
Ironically, I'm close to building an alternative to the database (DNS)
functions, because Windows has long been increasingly stubborn about
treating the local host differently in lookups, and it's now gotten to the
point that I can't find a workaround for Win2k configured via DHCP. Win2k
machines appear not to query the name server re the local host; the result
is that the local machine is the only one on the planet that can't figure
out it's IP name. It's easy to work around it on Win2k with a static IP
number: just name the machine such that the WINS name plus domain is the IP
name; but, that trick can't work when the IP number changes each time the
system boots.
Anybody know of a fix to this?
Have a good one,
Bill
---
Wilhelm K. Schwab, Ph.D.
[hidden email]