This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Determining network ERROR codes



On 19-Jul-2001 Trenton D. Adams wrote:
> Ok, how do I know what error corresponds to what?  I got an error of 331
> on a connect () call.  Aren't these supposed to be standard errors?

What do you mean "standard" errors?

The error numbers are in the file .../error/current/include/codes.h
You can turn an error number into a printable string by calling strerror()

> They don't seem to return the same errors as they do on Windows.  Maybe
> windows redefines them!

As far as that goes, you can bet on it (and that they would say they had
to, just to standardize the process)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]