Can I assume that symbols like EHOSTDOWN and EADDRNOTAVAIL are portable

Jeremy Allison jra at samba.org
Mon May 10 16:12:20 GMT 2004


On Sun, May 09, 2004 at 12:10:25PM -0700, Richard Sharpe wrote:
> Hi,
> 
> Can anyone cast any opinions on whether or not the above symbols are
> available across a wide range of implementations these days?
> 
> I want to use one of them in libsmbclient in the case where we cannot
> locate the workgroup or server associated with a NetBIOS name.

Use an #ifdef for them - use something else if not available.

Jeremy.


More information about the samba-technical mailing list