Changeset 100

Show
Ignore:
Timestamp:
03/23/08 16:09:00 (8 months ago)
Author:
mwhitworth
Message:

Add network errors to error.h

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/trunk/include/error.h

    r1 r100  
    4646#define EINTR           19 /* Operation interrupted by signal */ 
    4747 
     48/* Network errors */ 
     49#define EWOULDBLOCK     20 /* No new connections to accept etc. */ 
     50#define EPROTO          21 /* Protocol error */ 
     51#define EDESTADDRREQ 22 /* Destination address required */ 
     52#define EFAMILY         23 /* Socket family not supported. */ 
     53#define ESOCKTYPE       24 /* Socket type not supported. */ 
     54#define EOPNOTSUPP      25 /* Operation not supported on socket. */ 
     55#define ECONNRESET      26 /* Connection reset by peer. */ 
     56#define ETIMEDOUT       27 /* Operation timed out. */ 
     57 
    4858#endif