Back to index

php5  5.3.10
unix_socket_constants.h
Go to the documentation of this file.
00001 /*
00002   +----------------------------------------------------------------------+
00003   | PHP Version 5                                                        |
00004   +----------------------------------------------------------------------+
00005   | Copyright (c) 1997-2012 The PHP Group                                |
00006   +----------------------------------------------------------------------+
00007   | This source file is subject to version 3.01 of the PHP license,      |
00008   | that is bundled with this package in the file LICENSE, and is        |
00009   | available through the world-wide-web at the following url:           |
00010   | http://www.php.net/license/3_01.txt                                  |
00011   | If you did not receive a copy of the PHP license and are unable to   |
00012   | obtain it through the world-wide-web, please send a note to          |
00013   | license@php.net so we can mail you a copy immediately.               |
00014   +----------------------------------------------------------------------+
00015   | Author: Jason Greene <jason@php.net>                                 |
00016   +----------------------------------------------------------------------+
00017 */
00018 
00019 /* $Id: unix_socket_constants.h 321634 2012-01-01 13:15:04Z felipe $ */
00020 
00021 /* This file is to be included by sockets.c */
00022 
00023 #ifdef EPERM
00024        /* Operation not permitted */ 
00025        REGISTER_LONG_CONSTANT("SOCKET_EPERM", EPERM, CONST_CS | CONST_PERSISTENT);
00026 #endif
00027 #ifdef ENOENT
00028        /* No such file or directory */ 
00029        REGISTER_LONG_CONSTANT("SOCKET_ENOENT", ENOENT, CONST_CS | CONST_PERSISTENT);
00030 #endif
00031 #ifdef EINTR
00032        /* Interrupted system call */ 
00033        REGISTER_LONG_CONSTANT("SOCKET_EINTR", EINTR, CONST_CS | CONST_PERSISTENT);
00034 #endif
00035 #ifdef EIO
00036        /* I/O error */ 
00037        REGISTER_LONG_CONSTANT("SOCKET_EIO", EIO, CONST_CS | CONST_PERSISTENT);
00038 #endif
00039 #ifdef ENXIO
00040        /* No such device or address */ 
00041        REGISTER_LONG_CONSTANT("SOCKET_ENXIO", ENXIO, CONST_CS | CONST_PERSISTENT);
00042 #endif
00043 #ifdef E2BIG
00044        /* Arg list too long */ 
00045        REGISTER_LONG_CONSTANT("SOCKET_E2BIG", E2BIG, CONST_CS | CONST_PERSISTENT);
00046 #endif
00047 #ifdef EBADF
00048        /* Bad file number */ 
00049        REGISTER_LONG_CONSTANT("SOCKET_EBADF", EBADF, CONST_CS | CONST_PERSISTENT);
00050 #endif
00051 #ifdef EAGAIN
00052        /* Try again */ 
00053        REGISTER_LONG_CONSTANT("SOCKET_EAGAIN", EAGAIN, CONST_CS | CONST_PERSISTENT);
00054 #endif
00055 #ifdef ENOMEM
00056        /* Out of memory */ 
00057        REGISTER_LONG_CONSTANT("SOCKET_ENOMEM", ENOMEM, CONST_CS | CONST_PERSISTENT);
00058 #endif
00059 #ifdef EACCES
00060        /* Permission denied */ 
00061        REGISTER_LONG_CONSTANT("SOCKET_EACCES", EACCES, CONST_CS | CONST_PERSISTENT);
00062 #endif
00063 #ifdef EFAULT
00064        /* Bad address */ 
00065        REGISTER_LONG_CONSTANT("SOCKET_EFAULT", EFAULT, CONST_CS | CONST_PERSISTENT);
00066 #endif
00067 #ifdef ENOTBLK
00068        /* Block device required */ 
00069        REGISTER_LONG_CONSTANT("SOCKET_ENOTBLK", ENOTBLK, CONST_CS | CONST_PERSISTENT);
00070 #endif
00071 #ifdef EBUSY
00072        /* Device or resource busy */ 
00073        REGISTER_LONG_CONSTANT("SOCKET_EBUSY", EBUSY, CONST_CS | CONST_PERSISTENT);
00074 #endif
00075 #ifdef EEXIST
00076        /* File exists */ 
00077        REGISTER_LONG_CONSTANT("SOCKET_EEXIST", EEXIST, CONST_CS | CONST_PERSISTENT);
00078 #endif
00079 #ifdef EXDEV
00080        /* Cross-device link */ 
00081        REGISTER_LONG_CONSTANT("SOCKET_EXDEV", EXDEV, CONST_CS | CONST_PERSISTENT);
00082 #endif
00083 #ifdef ENODEV
00084        /* No such device */ 
00085        REGISTER_LONG_CONSTANT("SOCKET_ENODEV", ENODEV, CONST_CS | CONST_PERSISTENT);
00086 #endif
00087 #ifdef ENOTDIR
00088        /* Not a directory */ 
00089        REGISTER_LONG_CONSTANT("SOCKET_ENOTDIR", ENOTDIR, CONST_CS | CONST_PERSISTENT);
00090 #endif
00091 #ifdef EISDIR
00092        /* Is a directory */ 
00093        REGISTER_LONG_CONSTANT("SOCKET_EISDIR", EISDIR, CONST_CS | CONST_PERSISTENT);
00094 #endif
00095 #ifdef EINVAL
00096        /* Invalid argument */ 
00097        REGISTER_LONG_CONSTANT("SOCKET_EINVAL", EINVAL, CONST_CS | CONST_PERSISTENT);
00098 #endif
00099 #ifdef ENFILE
00100        /* File table overflow */ 
00101        REGISTER_LONG_CONSTANT("SOCKET_ENFILE", ENFILE, CONST_CS | CONST_PERSISTENT);
00102 #endif
00103 #ifdef EMFILE
00104        /* Too many open files */ 
00105        REGISTER_LONG_CONSTANT("SOCKET_EMFILE", EMFILE, CONST_CS | CONST_PERSISTENT);
00106 #endif
00107 #ifdef ENOTTY
00108        /* Not a typewriter */ 
00109        REGISTER_LONG_CONSTANT("SOCKET_ENOTTY", ENOTTY, CONST_CS | CONST_PERSISTENT);
00110 #endif
00111 #ifdef ENOSPC
00112        /* No space left on device */ 
00113        REGISTER_LONG_CONSTANT("SOCKET_ENOSPC", ENOSPC, CONST_CS | CONST_PERSISTENT);
00114 #endif
00115 #ifdef ESPIPE
00116        /* Illegal seek */ 
00117        REGISTER_LONG_CONSTANT("SOCKET_ESPIPE", ESPIPE, CONST_CS | CONST_PERSISTENT);
00118 #endif
00119 #ifdef EROFS
00120        /* Read-only file system */ 
00121        REGISTER_LONG_CONSTANT("SOCKET_EROFS", EROFS, CONST_CS | CONST_PERSISTENT);
00122 #endif
00123 #ifdef EMLINK
00124        /* Too many links */ 
00125        REGISTER_LONG_CONSTANT("SOCKET_EMLINK", EMLINK, CONST_CS | CONST_PERSISTENT);
00126 #endif
00127 #ifdef EPIPE
00128        /* Broken pipe */ 
00129        REGISTER_LONG_CONSTANT("SOCKET_EPIPE", EPIPE, CONST_CS | CONST_PERSISTENT);
00130 #endif
00131 #ifdef ENAMETOOLONG
00132        /* File name too long */ 
00133        REGISTER_LONG_CONSTANT("SOCKET_ENAMETOOLONG", ENAMETOOLONG, CONST_CS | CONST_PERSISTENT);
00134 #endif
00135 #ifdef ENOLCK
00136        /* No record locks available */ 
00137        REGISTER_LONG_CONSTANT("SOCKET_ENOLCK", ENOLCK, CONST_CS | CONST_PERSISTENT);
00138 #endif
00139 #ifdef ENOSYS
00140        /* Function not implemented */ 
00141        REGISTER_LONG_CONSTANT("SOCKET_ENOSYS", ENOSYS, CONST_CS | CONST_PERSISTENT);
00142 #endif
00143 #ifdef ENOTEMPTY
00144        /* Directory not empty */ 
00145        REGISTER_LONG_CONSTANT("SOCKET_ENOTEMPTY", ENOTEMPTY, CONST_CS | CONST_PERSISTENT);
00146 #endif
00147 #ifdef ELOOP
00148        /* Too many symbolic links encountered */ 
00149        REGISTER_LONG_CONSTANT("SOCKET_ELOOP", ELOOP, CONST_CS | CONST_PERSISTENT);
00150 #endif
00151 #ifdef EWOULDBLOCK
00152        /* Operation would block */ 
00153        REGISTER_LONG_CONSTANT("SOCKET_EWOULDBLOCK", EWOULDBLOCK, CONST_CS | CONST_PERSISTENT);
00154 #endif
00155 #ifdef ENOMSG
00156        /* No message of desired type */ 
00157        REGISTER_LONG_CONSTANT("SOCKET_ENOMSG", ENOMSG, CONST_CS | CONST_PERSISTENT);
00158 #endif
00159 #ifdef EIDRM
00160        /* Identifier removed */ 
00161        REGISTER_LONG_CONSTANT("SOCKET_EIDRM", EIDRM, CONST_CS | CONST_PERSISTENT);
00162 #endif
00163 #ifdef ECHRNG
00164        /* Channel number out of range */ 
00165        REGISTER_LONG_CONSTANT("SOCKET_ECHRNG", ECHRNG, CONST_CS | CONST_PERSISTENT);
00166 #endif
00167 #ifdef EL2NSYNC
00168        /* Level 2 not synchronized */ 
00169        REGISTER_LONG_CONSTANT("SOCKET_EL2NSYNC", EL2NSYNC, CONST_CS | CONST_PERSISTENT);
00170 #endif
00171 #ifdef EL3HLT
00172        /* Level 3 halted */ 
00173        REGISTER_LONG_CONSTANT("SOCKET_EL3HLT", EL3HLT, CONST_CS | CONST_PERSISTENT);
00174 #endif
00175 #ifdef EL3RST
00176        /* Level 3 reset */ 
00177        REGISTER_LONG_CONSTANT("SOCKET_EL3RST", EL3RST, CONST_CS | CONST_PERSISTENT);
00178 #endif
00179 #ifdef ELNRNG
00180        /* Link number out of range */ 
00181        REGISTER_LONG_CONSTANT("SOCKET_ELNRNG", ELNRNG, CONST_CS | CONST_PERSISTENT);
00182 #endif
00183 #ifdef EUNATCH
00184        /* Protocol driver not attached */ 
00185        REGISTER_LONG_CONSTANT("SOCKET_EUNATCH", EUNATCH, CONST_CS | CONST_PERSISTENT);
00186 #endif
00187 #ifdef ENOCSI
00188        /* No CSI structure available */ 
00189        REGISTER_LONG_CONSTANT("SOCKET_ENOCSI", ENOCSI, CONST_CS | CONST_PERSISTENT);
00190 #endif
00191 #ifdef EL2HLT
00192        /* Level 2 halted */ 
00193        REGISTER_LONG_CONSTANT("SOCKET_EL2HLT", EL2HLT, CONST_CS | CONST_PERSISTENT);
00194 #endif
00195 #ifdef EBADE
00196        /* Invalid exchange */ 
00197        REGISTER_LONG_CONSTANT("SOCKET_EBADE", EBADE, CONST_CS | CONST_PERSISTENT);
00198 #endif
00199 #ifdef EBADR
00200        /* Invalid request descriptor */ 
00201        REGISTER_LONG_CONSTANT("SOCKET_EBADR", EBADR, CONST_CS | CONST_PERSISTENT);
00202 #endif
00203 #ifdef EXFULL
00204        /* Exchange full */ 
00205        REGISTER_LONG_CONSTANT("SOCKET_EXFULL", EXFULL, CONST_CS | CONST_PERSISTENT);
00206 #endif
00207 #ifdef ENOANO
00208        /* No anode */ 
00209        REGISTER_LONG_CONSTANT("SOCKET_ENOANO", ENOANO, CONST_CS | CONST_PERSISTENT);
00210 #endif
00211 #ifdef EBADRQC
00212        /* Invalid request code */ 
00213        REGISTER_LONG_CONSTANT("SOCKET_EBADRQC", EBADRQC, CONST_CS | CONST_PERSISTENT);
00214 #endif
00215 #ifdef EBADSLT
00216        /* Invalid slot */ 
00217        REGISTER_LONG_CONSTANT("SOCKET_EBADSLT", EBADSLT, CONST_CS | CONST_PERSISTENT);
00218 #endif
00219 #ifdef ENOSTR
00220        /* Device not a stream */ 
00221        REGISTER_LONG_CONSTANT("SOCKET_ENOSTR", ENOSTR, CONST_CS | CONST_PERSISTENT);
00222 #endif
00223 #ifdef ENODATA
00224        /* No data available */ 
00225        REGISTER_LONG_CONSTANT("SOCKET_ENODATA", ENODATA, CONST_CS | CONST_PERSISTENT);
00226 #endif
00227 #ifdef ETIME
00228        /* Timer expired */ 
00229        REGISTER_LONG_CONSTANT("SOCKET_ETIME", ETIME, CONST_CS | CONST_PERSISTENT);
00230 #endif
00231 #ifdef ENOSR
00232        /* Out of streams resources */ 
00233        REGISTER_LONG_CONSTANT("SOCKET_ENOSR", ENOSR, CONST_CS | CONST_PERSISTENT);
00234 #endif
00235 #ifdef ENONET
00236        /* Machine is not on the network */ 
00237        REGISTER_LONG_CONSTANT("SOCKET_ENONET", ENONET, CONST_CS | CONST_PERSISTENT);
00238 #endif
00239 #ifdef EREMOTE
00240        /* Object is remote */ 
00241        REGISTER_LONG_CONSTANT("SOCKET_EREMOTE", EREMOTE, CONST_CS | CONST_PERSISTENT);
00242 #endif
00243 #ifdef ENOLINK
00244        /* Link has been severed */ 
00245        REGISTER_LONG_CONSTANT("SOCKET_ENOLINK", ENOLINK, CONST_CS | CONST_PERSISTENT);
00246 #endif
00247 #ifdef EADV
00248        /* Advertise error */ 
00249        REGISTER_LONG_CONSTANT("SOCKET_EADV", EADV, CONST_CS | CONST_PERSISTENT);
00250 #endif
00251 #ifdef ESRMNT
00252        /* Srmount error */ 
00253        REGISTER_LONG_CONSTANT("SOCKET_ESRMNT", ESRMNT, CONST_CS | CONST_PERSISTENT);
00254 #endif
00255 #ifdef ECOMM
00256        /* Communication error on send */ 
00257        REGISTER_LONG_CONSTANT("SOCKET_ECOMM", ECOMM, CONST_CS | CONST_PERSISTENT);
00258 #endif
00259 #ifdef EPROTO
00260        /* Protocol error */ 
00261        REGISTER_LONG_CONSTANT("SOCKET_EPROTO", EPROTO, CONST_CS | CONST_PERSISTENT);
00262 #endif
00263 #ifdef EMULTIHOP
00264        /* Multihop attempted */ 
00265        REGISTER_LONG_CONSTANT("SOCKET_EMULTIHOP", EMULTIHOP, CONST_CS | CONST_PERSISTENT);
00266 #endif
00267 #ifdef EBADMSG
00268        /* Not a data message */ 
00269        REGISTER_LONG_CONSTANT("SOCKET_EBADMSG", EBADMSG, CONST_CS | CONST_PERSISTENT);
00270 #endif
00271 #ifdef ENOTUNIQ
00272        /* Name not unique on network */ 
00273        REGISTER_LONG_CONSTANT("SOCKET_ENOTUNIQ", ENOTUNIQ, CONST_CS | CONST_PERSISTENT);
00274 #endif
00275 #ifdef EBADFD
00276        /* File descriptor in bad state */ 
00277        REGISTER_LONG_CONSTANT("SOCKET_EBADFD", EBADFD, CONST_CS | CONST_PERSISTENT);
00278 #endif
00279 #ifdef EREMCHG
00280        /* Remote address changed */ 
00281        REGISTER_LONG_CONSTANT("SOCKET_EREMCHG", EREMCHG, CONST_CS | CONST_PERSISTENT);
00282 #endif
00283 #ifdef ERESTART
00284        /* Interrupted system call should be restarted */ 
00285        REGISTER_LONG_CONSTANT("SOCKET_ERESTART", ERESTART, CONST_CS | CONST_PERSISTENT);
00286 #endif
00287 #ifdef ESTRPIPE
00288        /* Streams pipe error */ 
00289        REGISTER_LONG_CONSTANT("SOCKET_ESTRPIPE", ESTRPIPE, CONST_CS | CONST_PERSISTENT);
00290 #endif
00291 #ifdef EUSERS
00292        /* Too many users */ 
00293        REGISTER_LONG_CONSTANT("SOCKET_EUSERS", EUSERS, CONST_CS | CONST_PERSISTENT);
00294 #endif
00295 #ifdef ENOTSOCK
00296        /* Socket operation on non-socket */ 
00297        REGISTER_LONG_CONSTANT("SOCKET_ENOTSOCK", ENOTSOCK, CONST_CS | CONST_PERSISTENT);
00298 #endif
00299 #ifdef EDESTADDRREQ
00300        /* Destination address required */ 
00301        REGISTER_LONG_CONSTANT("SOCKET_EDESTADDRREQ", EDESTADDRREQ, CONST_CS | CONST_PERSISTENT);
00302 #endif
00303 #ifdef EMSGSIZE
00304        /* Message too long */ 
00305        REGISTER_LONG_CONSTANT("SOCKET_EMSGSIZE", EMSGSIZE, CONST_CS | CONST_PERSISTENT);
00306 #endif
00307 #ifdef EPROTOTYPE
00308        /* Protocol wrong type for socket */ 
00309        REGISTER_LONG_CONSTANT("SOCKET_EPROTOTYPE", EPROTOTYPE, CONST_CS | CONST_PERSISTENT);
00310 #endif
00311 #ifdef ENOPROTOOPT
00312        /* Protocol not available */ 
00313        REGISTER_LONG_CONSTANT("SOCKET_ENOPROTOOPT", ENOPROTOOPT, CONST_CS | CONST_PERSISTENT);
00314 #endif
00315 #ifdef EPROTONOSUPPORT
00316        /* Protocol not supported */ 
00317        REGISTER_LONG_CONSTANT("SOCKET_EPROTONOSUPPORT", EPROTONOSUPPORT, CONST_CS | CONST_PERSISTENT);
00318 #endif
00319 #ifdef ESOCKTNOSUPPORT
00320        /* Socket type not supported */ 
00321        REGISTER_LONG_CONSTANT("SOCKET_ESOCKTNOSUPPORT", ESOCKTNOSUPPORT, CONST_CS | CONST_PERSISTENT);
00322 #endif
00323 #ifdef EOPNOTSUPP
00324        /* Operation not supported on transport endpoint */ 
00325        REGISTER_LONG_CONSTANT("SOCKET_EOPNOTSUPP", EOPNOTSUPP, CONST_CS | CONST_PERSISTENT);
00326 #endif
00327 #ifdef EPFNOSUPPORT
00328        /* Protocol family not supported */ 
00329        REGISTER_LONG_CONSTANT("SOCKET_EPFNOSUPPORT", EPFNOSUPPORT, CONST_CS | CONST_PERSISTENT);
00330 #endif
00331 #ifdef EAFNOSUPPORT
00332        /* Address family not supported by protocol */ 
00333        REGISTER_LONG_CONSTANT("SOCKET_EAFNOSUPPORT", EAFNOSUPPORT, CONST_CS | CONST_PERSISTENT);
00334 #endif
00335 #ifdef EADDRINUSE
00336        /* Address already in use */ 
00337        REGISTER_LONG_CONSTANT("SOCKET_EADDRINUSE", EADDRINUSE, CONST_CS | CONST_PERSISTENT);
00338 #endif
00339 #ifdef EADDRNOTAVAIL
00340        /* Cannot assign requested address */ 
00341        REGISTER_LONG_CONSTANT("SOCKET_EADDRNOTAVAIL", EADDRNOTAVAIL, CONST_CS | CONST_PERSISTENT);
00342 #endif
00343 #ifdef ENETDOWN
00344        /* Network is down */ 
00345        REGISTER_LONG_CONSTANT("SOCKET_ENETDOWN", ENETDOWN, CONST_CS | CONST_PERSISTENT);
00346 #endif
00347 #ifdef ENETUNREACH
00348        /* Network is unreachable */ 
00349        REGISTER_LONG_CONSTANT("SOCKET_ENETUNREACH", ENETUNREACH, CONST_CS | CONST_PERSISTENT);
00350 #endif
00351 #ifdef ENETRESET
00352        /* Network dropped connection because of reset */ 
00353        REGISTER_LONG_CONSTANT("SOCKET_ENETRESET", ENETRESET, CONST_CS | CONST_PERSISTENT);
00354 #endif
00355 #ifdef ECONNABORTED
00356        /* Software caused connection abort */ 
00357        REGISTER_LONG_CONSTANT("SOCKET_ECONNABORTED", ECONNABORTED, CONST_CS | CONST_PERSISTENT);
00358 #endif
00359 #ifdef ECONNRESET
00360        /* Connection reset by peer */ 
00361        REGISTER_LONG_CONSTANT("SOCKET_ECONNRESET", ECONNRESET, CONST_CS | CONST_PERSISTENT);
00362 #endif
00363 #ifdef ENOBUFS
00364        /* No buffer space available */ 
00365        REGISTER_LONG_CONSTANT("SOCKET_ENOBUFS", ENOBUFS, CONST_CS | CONST_PERSISTENT);
00366 #endif
00367 #ifdef EISCONN
00368        /* Transport endpoint is already connected */ 
00369        REGISTER_LONG_CONSTANT("SOCKET_EISCONN", EISCONN, CONST_CS | CONST_PERSISTENT);
00370 #endif
00371 #ifdef ENOTCONN
00372        /* Transport endpoint is not connected */ 
00373        REGISTER_LONG_CONSTANT("SOCKET_ENOTCONN", ENOTCONN, CONST_CS | CONST_PERSISTENT);
00374 #endif
00375 #ifdef ESHUTDOWN
00376        /* Cannot send after transport endpoint shutdown */ 
00377        REGISTER_LONG_CONSTANT("SOCKET_ESHUTDOWN", ESHUTDOWN, CONST_CS | CONST_PERSISTENT);
00378 #endif
00379 #ifdef ETOOMANYREFS
00380        /* Too many references: cannot splice */ 
00381        REGISTER_LONG_CONSTANT("SOCKET_ETOOMANYREFS", ETOOMANYREFS, CONST_CS | CONST_PERSISTENT);
00382 #endif
00383 #ifdef ETIMEDOUT
00384        /* Connection timed out */ 
00385        REGISTER_LONG_CONSTANT("SOCKET_ETIMEDOUT", ETIMEDOUT, CONST_CS | CONST_PERSISTENT);
00386 #endif
00387 #ifdef ECONNREFUSED
00388        /* Connection refused */ 
00389        REGISTER_LONG_CONSTANT("SOCKET_ECONNREFUSED", ECONNREFUSED, CONST_CS | CONST_PERSISTENT);
00390 #endif
00391 #ifdef EHOSTDOWN
00392        /* Host is down */ 
00393        REGISTER_LONG_CONSTANT("SOCKET_EHOSTDOWN", EHOSTDOWN, CONST_CS | CONST_PERSISTENT);
00394 #endif
00395 #ifdef EHOSTUNREACH
00396        /* No route to host */ 
00397        REGISTER_LONG_CONSTANT("SOCKET_EHOSTUNREACH", EHOSTUNREACH, CONST_CS | CONST_PERSISTENT);
00398 #endif
00399 #ifdef EALREADY
00400        /* Operation already in progress */ 
00401        REGISTER_LONG_CONSTANT("SOCKET_EALREADY", EALREADY, CONST_CS | CONST_PERSISTENT);
00402 #endif
00403 #ifdef EINPROGRESS
00404        /* Operation now in progress */ 
00405        REGISTER_LONG_CONSTANT("SOCKET_EINPROGRESS", EINPROGRESS, CONST_CS | CONST_PERSISTENT);
00406 #endif
00407 #ifdef EISNAM
00408        /* Is a named type file */ 
00409        REGISTER_LONG_CONSTANT("SOCKET_EISNAM", EISNAM, CONST_CS | CONST_PERSISTENT);
00410 #endif
00411 #ifdef EREMOTEIO
00412        /* Remote I/O error */ 
00413        REGISTER_LONG_CONSTANT("SOCKET_EREMOTEIO", EREMOTEIO, CONST_CS | CONST_PERSISTENT);
00414 #endif
00415 #ifdef EDQUOT
00416        /* Quota exceeded */ 
00417        REGISTER_LONG_CONSTANT("SOCKET_EDQUOT", EDQUOT, CONST_CS | CONST_PERSISTENT);
00418 #endif
00419 #ifdef ENOMEDIUM
00420        /* No medium found */ 
00421        REGISTER_LONG_CONSTANT("SOCKET_ENOMEDIUM", ENOMEDIUM, CONST_CS | CONST_PERSISTENT);
00422 #endif
00423 #ifdef EMEDIUMTYPE
00424        /* Wrong medium type */ 
00425        REGISTER_LONG_CONSTANT("SOCKET_EMEDIUMTYPE", EMEDIUMTYPE, CONST_CS | CONST_PERSISTENT);
00426 #endif