ldmud/mudlib/sys/comm.h
Alexander Motzkau 00c4239b20 Removed the get/set_connection/combine_charset() efuns.
Removed the efuns set_connection_charset(), get_connection_charset(),
set_combine_charset(), and get_combine_charset() in favor of the new
configure_object() with IC_CONNECTION_CHARSET_AS_STRING,
IC_CONNECTION_CHARSET_AS_ARRAY, IC_COMBINE_CHARSET_AS_STRING,
IC_COMBINE_CHARSET_AS_ARRAY, and IC_QUOTE_IAC. Added simul-efun
implementations providing the old interface. (Issue #596)
2016-01-25 23:40:19 +01:00

15 lines
611 B
C

#ifndef LPC_COMM_H_
#define LPC_COMM_H_
/* return values for net_connect() */
#define NC_SUCCESS 0 /* Success! */
#define NC_EUNKNOWNHOST 1 /* host address could not be resolved */
#define NC_ENOSOCKET 2 /* socket could not be created */
#define NC_ENOBIND 3 /* socket could not be bound */
#define NC_ENOCONNECT 4 /* socket could not be connected */
#define NC_ECONNREFUSED 5 /* target address not listening */
#define NC_EMCONN 6 /* too many pending connections */
#define NC_ENORESSOURCES 7 /* insufficient system ressources */
#endif /* LPC_COMM_H_ */