[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Anyone else use diald?
>>>>> Simon == Simon Hudson <Simon.Hudson [at] softwareag.co.uk> writes:
Simon> One niggle: Netscape/diald seem to hang on the first
Simon> request. When I fire up NS and click a bookmark, the modem
Simon> pops into life and connection is established but NS just
Simon> sits there connecting.... If I hit the stop button and
Simon> try again (after the line is fully up) everything works.
How long do you wait? The relevant OS-level functions (gethostby*)
are very badly behaved, and Netscape handles this by starting a DNS
helper process. This makes it possible for Netscape to do other work
while waiting for the DNS info to return. The timeout specified in
the standard is ridiculously long, something like 30 seconds.
So I'm guessing that Netscape tickles the inet stuff, which fires up
the modem, but the gethostbyname function is already in failure mode,
waits for the timeout, and then you could try again. By interrupting
the process, you don't have to wait for the full timeout.
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
__________________________________________________________________________
What are those two straight lines for? Free software rules.
Start your own FREE mailing list at
© 2000 Microsoft Corporation. All Rights Reserved