On Fri, 15 Sep 2000, Rein Klazes wrote:
>
> Exactly, but according to my knowledge (Steven's Unix Network
> Programming) the gethostbyaddr_r() is different on Solaris and other
> platforms. Different arguments and so. A bit hard to make a configure
> test unles you put your knowledge of platforms in. Tht's why I thougt
> an "ifdef <platform>" isn't al that different.
I have a configure test and a possible sample generic interface for
the three types that I know of at
http://www.csn.ul.ie/~caolan/pub/gethostbyname_r/
At worst it is reasonable starting point. It works for me (tm)
C.
Real Life: Caolan McNamara * Mobile: +49-177-2938135
Play: [EMAIL PROTECTED] * Work Ph.: +49-40-23646-672
URL: http://www.csn.ul.ie/~caolan * Sig: an oblique strategy
Accept advice