Re: Broken IPv6 DNS servers (Was: Is gethostbyname2() reentrant?)

2002-06-01 Thread Ian
On 05/31/02 16:53, Peter Haight wrote: Yeah. I'm in the middle of the Mozilla code base as you probably remember, trying to fix the problem of these bad DNS servers. I did complain to the technical administrators for the ones that were giving me problems, but I've only received form letter

Re: Broken IPv6 DNS servers (Was: Is gethostbyname2() reentrant?)

2002-06-01 Thread Jos Backus
On Fri, May 31, 2002 at 03:53:41PM -0700, Peter Haight wrote: Any other suggestions? Please don't tell me to complain to the owner of the DNS servers. I have done that. If you feel that is the proper solution, please complain yourself to [EMAIL PROTECTED] who is the Technical Contact for

Re: Is gethostbyname2() reentrant?

2002-06-01 Thread Clint Olsen
On Jun 01, Dag-Erling Smorgrav wrote: Use getaddrinfo() instead. The manpage for getaddrinfo() claims it's not threadsafe, either. -Clint To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Is gethostbyname2() reentrant?

2002-06-01 Thread Dag-Erling Smorgrav
Peter Haight [EMAIL PROTECTED] writes: If I link with libc_r can I use gethostbyname2() at the same time in two different threads? Use getaddrinfo() instead. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the

Re: Is gethostbyname2() reentrant?

2002-06-01 Thread Terry Lambert
Dag-Erling Smorgrav wrote: Peter Haight [EMAIL PROTECTED] writes: If I link with libc_r can I use gethostbyname2() at the same time in two different threads? Use getaddrinfo() instead. You can't unambiguously treat IP addresses (rather than domain names) preferentially and correctly with

Re: Is gethostbyname2() reentrant?

2002-05-31 Thread Clint Olsen
On May 31, Peter Haight wrote: If I link with libc_r can I use gethostbyname2() at the same time in two different threads? Pardon my ignorance, but how does re-entrancy affect this? It would seem that you're interested in a function that doesn't block. -Clint To Unsubscribe: send mail to

Re: Is gethostbyname2() reentrant?

2002-05-31 Thread Peter Haight
On May 31, Peter Haight wrote: If I link with libc_r can I use gethostbyname2() at the same time in two different threads? Pardon my ignorance, but how does re-entrancy affect this? It would seem that you're interested in a function that doesn't block. The function returns a pointer to

Re: Is gethostbyname2() reentrant?

2002-05-31 Thread Dan Nelson
In the last episode (May 31), Peter Haight said: On May 31, Peter Haight wrote: If I link with libc_r can I use gethostbyname2() at the same time in two different threads? Pardon my ignorance, but how does re-entrancy affect this? It would seem that you're interested in a function

Re: Is gethostbyname2() reentrant?

2002-05-31 Thread Terry Lambert
Peter Haight wrote: On May 31, Peter Haight wrote: If I link with libc_r can I use gethostbyname2() at the same time in two different threads? Pardon my ignorance, but how does re-entrancy affect this? It would seem that you're interested in a function that doesn't block. The