Re: Nameserver calls - libesmtp problem?



Am 22.06.2001 13:37:10 schrieb(en) Brian Stafford:
> Use "info libc" and then scroll down and follow the link to
> Fucntion Index.  From there you can get to gethostbyname_r

O.K., I tried the example code there... and it does *NOT* *NOT* dial in when I
try to resolve localhost (see the attached c program...). Now it's your turn
to explain that...

> | Well, I actually had the problem that Netscape seemed to call the
> | nameserver
> | in regular intervals for no good reason, thus initiating dial-ins.
> 
> Probably polling POP or IMAP servers.

Nope. I always use fetchmail in non-daemon mode...

> I'd rather you used it.  I need bug reports if I'm going to make the
> code stable.

See above :-/

> Agreed.  I don't see why my code should be penalised for using thread
> safe code in a threaded program.

It's great that you pointed out that problem! I think, at least if we (or you
;-)) resolve this strange problem, we should use this solution as a
replacement for all gethostbyname's in balsa...

Cheers, Albrecht.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Albrecht Dreß  -  Monschauer Straße 22  -  D-53121 Bonn (Germany)
      Phone (+49) 228 6199571  -  E-Mail albrecht.dress@arcormail.de
_________________________________________________________________________

hosttest.c.gz



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