Socket Error Codes

Hi there
I’ve finally got my digi working , thanks to all you guys.

I’ve got a problem finding out what the error code I get means. I’m getting the code 118 returned from a connect function when trying to connect a socket . the API says there should be an errno.h file somewhere but my search has turned up nothing. does anyone know what this code means or where I can find a complete list of error codes.

I’ve already looked at nerrno.h in the h/tcpip directory but it only has till err no 110.

Thanks
Shaheen

118 = EHOSTUNREACH = Host is unreachable.

\cygwin\usr\arm-elf\include\sys\errno.h