Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: Internet connections from Linux



>>>>> "Scott" == Scott Stone <sstone@example.com> writes:

    Scott> One weird thing about Netscape is that it doesn't seem to
    Scott> use gethostbyname() for name lookups, it queries DNS
    Scott> directly.  As such, make sure you have at least one
    Scott> nameserver properly defined in /etc/resolv.conf, like this:

Nothing weird about it.  gethostbyname() is a blocking system call.
The way the web is set up today, a single page often references
several, and occasionally dozens, of hosts.  Netscrap would stop dead
in its tracks (the way Lynx and w3.el do) if the DNS was slow (as it
is here in well-WirEd TSukUBa).

So it offloads the DNS lookups to a separate process (threads would be 
preferable but not available in portable fashion).

I have jwz's diatribe on gethostbyname() around somewhere if anyone's
interested.
---------------------------------------------------------------
Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next Meeting: 12 December, 12:30 Tokyo Station Yaesu central gate
---------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links