You need to define errno as Err so that the BSD defines can use it.
NetSocket.c has the definition commented out if you look near the top.
This assumes you are using CW5, though you can also find the file in the
SDK (at least in 3.0)

Anyone? 
I was just digging around in the Lite version of CW6, and can't find
NetSocket.c. Not available in the Lite version, or wrapped into something
else?

-Jason

On Fri, 5 Nov 1999, Christian Vandendorpe wrote:

> Hi,
> 
> I'm writing an app that uses the BSD-style sockets, everything conpiles 
> fine but I get the link error: errno is undefined.
> 
> Any ideas?
> 
> Thanks
> 
> Chris
> 
> 

Reply via email to