home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
internet
/
socketfs_2
/
H
/
Sockconsts
< prev
Wrap
Text File
|
1997-09-07
|
4KB
|
107 lines
EINTR * 4 ;Interrupted system call
ENXIO * 6 ;Device not configured
EBADF * 9 ;Bad descriptor
ENOMEM * 12 ;Cannot allocate memory
EACCES * 13 ;Permission denied
EFAULT * 14 ;Bad address
EINVAL * 22 ;Invalid argument
EMFILE * 24 ;Too many open files
EPIPE * 32 ;Broken pipe
EWOULDBLOCK * 35 ;Operation would block
EINPROGRESS * 36 ;Operation now in progress
EALREADY * 37 ;Operation already in progress
EDESTADDRREQ * 39 ;Destination address required
EMSGSIZE * 40 ;Message too long
ENOPROTOOPT * 42 ;Protocol not available
EPROTONOSUPPORT * 43 ;Protocol not supported
ESOCKTNOSUPPORT * 44 ;Socket type not supported
EOPNOTSUPP * 45 ;Operation not supported
EPFNOSUPPORT * 46 ;Protocol family not supported
EAFNOSUPPORT * 47 ;Address family not supported
EADDRINUSE * 48 ;Address already in use
EADDRNOTAVAIL * 49 ;Can't assign requested address
ENETDOWN * 50 ;Network is down
ENETUNREACH * 51 ;Network is unreachable
ECONNABORTED * 53 ;Software caused connection abort
ECONNRESET * 54 ;Connection reset by peer
ENOBUFS * 55 ;No buffer space available
EISCONN * 56 ;Socket is already connected
ENOTCONN * 57 ;Socket is not connected
ETIMEDOUT * 60 ;Operation timed out
ECONNREFUSED * 61 ;Connection refused
EHOSTUNREACH * 64 ;Host is down
EHOSTUNREACH2 * 65 ;No route to host
;If you're wondering about the unuusal order of the
;the following constants. It's becuase I generated this
;file by cut and pasting from the FreeNet Docs, and
;the constants where orginally in two coloumns, which
;I had to unfold.
;
;Thanks to Tom Hughes for allowing distrinution of this file.
SOCK_STREAM * 1
SO_DEBUG * &0001
SOCK_DGRAM * 2
SO_ACCEPTCONN * &0002
SOCK_RAW * 3
SO_REUSEADDR * &0004
SO_KEEPALIVE * &0008
PF_INET * 2
SO_DONTROUTE * &0010
SO_BROADCAST * &0020
AF_INET * 2
SO_LINGER * &0080
SO_OOBINLINE * &0100
MSG_OOB * &01
SO_SNDBUF * &1001
MSG_PEEK * &02
SO_RCVBUF * &1002
MSG_EOR * &08
SO_SNDLOWAT * &1003
MSG_TRUNC * &10
SO_RCVLOWAT * &1004
MSG_WAITALL * &40
SO_SNDTIMEO * &1005
MSG_DONTWAIT * &80
SO_RCVTIMEO * &1006
SO_ERROR * &1007
SOL_SOCKET * &FFFF
SO_TYPE * &1008
IP_OPTIONS * 1
SIOCSIFADDR * &8020690C
IP_HDRINCL * 2
OSIOCGIFADDR * &C020690D
IP_TOS * 3
SIOCGIFADDR * &C0206921
IP_TTL * 4
SIOCSIFDSTADDR * &8020690E
OSIOCGIFDSTADDR * &C020690F
TCP_NODELAY * 1
SIOCGIFDSTADDR * &C0206922
TCP_MAXSEG * 2
SIOCSIFFLAGS * &80206910
SIOCGIFFLAGS * &C0206911
FIOSLEEPTW * &80046679
OSIOCGIFBRDADDR * &C0206912
FIOASYNC * &8004667D
SIOCGIFBRDADDR * &C0206923
FIONBIO * &8004667E
SIOCSIFBRDADDR * &80206913
FIONREAD * &4004667F
OSIOCGIFCONF * &C0206914
SIOCGIFCONF * &C0206924
SIOCATMARK * &80047307
OSIOCGIFNETMASK * &C0206915
SIOCGIFNETMASK * &C0206925
SIOCSIFNETMASK * &80206916
SIOCGIFMETRIC * &C0206917
SIOCSIFMETRIC * &80206918
SIOCDIFADDR * &80206919
SIOCAIFADDR * &80206920
END