services.h

tmi2_fluffos_v2/lib/include/net/services.h · 748 B

From the archive tmi2_fluffos_v2.zip

Download the archive   « Back to the archive contents

/* This file contains information about the standard services used by
 * various parts of the mudlib, particularly the network communication
 * daemons such as finger and tell.
 */
#ifndef __NET__SERVICES_H
#define __NET__SERVICES_H

/* These are the protocol types for the services
 */
#define SVC_UNKNOWN    0
#define SVC_KNOWN      1
#define SVC_TCP        2
#define SVC_NO_TCP     4
#define SVC_UDP        8
#define SVC_NO_UDP    16

/* These macros control which ports the services run on.
 */
#define SRVC_PORT_INETD(x)  (x)+5
#define SRVC_PORT_UDP(x)    (x)+8

/* These are the levels of tcp support available
 */
#define TCP_NONE  "none"
#define TCP_SOME  "some"
#define TCP_ALL   "all"
#define TCP_ONLY  "only"

#endif //__NET__SERVICES_H

Site Stats

Snippets: 1791
Codebases: 571