/
LIB3/
LIB3/D/ADMIN/
LIB3/D/ADMIN/OBJ/
LIB3/D/ADMIN/ROOM/W/
LIB3/D/HOME/
LIB3/D/HOME/CITY/ARENA/
LIB3/D/HOME/CITY/ITEMS/
LIB3/D/HOME/CITY/POSTOFFI/
LIB3/DOC/
LIB3/GLOBAL/SPECIAL/
LIB3/GLOBAL/VIRTUAL/
LIB3/NET/
LIB3/NET/CONFIG/
LIB3/NET/DAEMON/CHARS/
LIB3/NET/GOPHER/
LIB3/NET/INHERIT/
LIB3/NET/OBJ/
LIB3/NET/SAVE/
LIB3/NET/VIRTUAL/
LIB3/OBJ/B_DAY/
LIB3/OBJ/HANDLERS/TERM_TYP/
LIB3/PLAYERS/B/
LIB3/PLAYERS/N/
LIB3/ROOM/
LIB3/SAVE/
LIB3/SAVE/BOARDS/
LIB3/SAVE/ENVIRON/
LIB3/SAVE/POST/
LIB3/STD/COMMANDS/SHADOWS/
LIB3/STD/CREATOR/
LIB3/STD/DOM/
LIB3/STD/EFFECTS/
LIB3/STD/EFFECTS/HEALING/
LIB3/STD/EFFECTS/OTHER/
LIB3/STD/EFFECTS/POISONS/
LIB3/STD/ENVIRON/
LIB3/STD/GUILDS/
LIB3/STD/LIQUIDS/
LIB3/STD/ROOM/
LIB3/STD/TRIGGER/SHADOW/
LIB3/W/
LIB3/W/BANNOR/
LIB3/W/NEWSTYLE/
/*
 * socket_errors.h -- definitions for efun socket error return codes.
 *    5-92 : Dwayne Fontenot (Jacques@TMI) : original coding.
 *   10-92 : Dave Richards (Cynosure) : less original coding.
 */

#ifndef _SOCKET_ERRORS_H_
#define _SOCKET_ERRORS_H_

#define EESUCCESS	  1		/* Call was successful */
#define EESOCKET	 -1		/* Problem creating socket */
#define EESETSOCKOPT	 -2		/* Problem with setsockopt */
#define	EENONBLOCK	 -3		/* Problem setting non-blocking mode */
#define EENOSOCKS	 -4		/* No more available efun sockets */
#define EEFDRANGE	 -5		/* Descriptor out of range */
#define EEBADF		 -6		/* Descriptor is invalid */
#define EESECURITY	 -7		/* Security violation attempted */
#define	EEISBOUND	 -8		/* Socket is already bound */
#define EEADDRINUSE	 -9		/* Address already in use */
#define EEBIND		-10		/* Problem with bind */
#define EEGETSOCKNAME	-11		/* Problem with getsockname */
#define EEMODENOTSUPP	-12		/* Socket mode not supported */
#define EENOADDR	-13		/* Socket not bound to an address */
#define EEISCONN	-14		/* Socket is already connected */
#define EELISTEN	-15		/* Problem with listen */
#define EENOTLISTN	-16		/* Socket not listening */
#define EEWOULDBLOCK	-17		/* Operation would block */
#define EEINTR		-18		/* Interrupted system call */
#define EEACCEPT	-19		/* Problem with accept */
#define	EEISLISTEN	-20		/* Socket is listening */
#define EEBADADDR	-21		/* Problem with address format */
#define EEALREADY	-22		/* Operation already in progress */
#define EECONNREFUSED	-23		/* Connection refused */
#define EECONNECT	-24		/* Problem with connect */
#define EENOTCONN	-25		/* Socket not connected */
#define EETYPENOTSUPP	-26		/* Object type not supported */
#define	EESENDTO	-27		/* Problem with sendto */
#define	EESEND		-28		/* Problem with send */
#define	EECALLBACK	-29		/* Wait for callback */
#define EESOCKRLSD	-30		/* Socket already released */
#define EESOCKNOTRLSD   -31		/* Socket not released */

#define	ERROR_STRINGS	 32		/* sizeof (error_strings) */

#endif /* _SOCKET_ERRORS_H_ */