On Thu, 18 Jul 2002 14:37:43 UTC, Bob Plyler <[EMAIL PROTECTED]> wrote:
>John Poltorak wrote: >> Does Mozilla use the nameserver information held in the RESOLV file by >> reading it once at startup only? Or does it monitor any changes to the >> file? >> >> I'd like to know if it's possible to make it re-read the file... >> > >Something like that should be up to the TCP/IP stack. From what I've >seen, the stack reads RESOLV when loaded, and any updates aren't >seen until the program restarts. Well, here, if I hack resolv2 with a text editor, the stack picks it up immediately and starts going to the new server. I think the stack I'm using here (tcpip 4.3 for OS/2) looks at the file every time it needs to resolve a name. John, there is a defined api for getting host names resolved... sockgethostbyname, IIRC. I'm sure that Moz is using that. -- ------------------------------------------------------------------- * Jack Troughton jake at consultron.ca * * http://consultron.ca irc.ecomstation.ca * * Laval Qu�bec Canada news://news.consultron.ca * -------------------------------------------------------------------
