/****************************************************************/
/**                                                            **/
/**   Direct Communication Chat and Conferencing System        **/
/**   Created May 1993 out of complete boredom.                **/
/**   (c) 1993 Takoyaki Software Ltd.                          **/
/**                                                            **/
/**   Will only run in conjunction with Desqview/X.            **/
/**                                                            **/
/**   File:    SERVCMDS.H                                      **/
/**                                                            **/
/****************************************************************/

/* commands from host to server */

#define ECHOOFF   0x02
#define SETINDENT 0x03
#define SETPREFIX 0x04
#define NEWINPUT  0x05
#define SHUTDOWN  0x06
#define WAKEUP    0x07
#define ENDPEND   0x08
#define FIRSTLINE 0x09		/* only used internally by the server */

/* commands from server to host */

#define TERMINALRESET 0x01
#define ACKNOWLEDGE 0x02
#define CHECKHOST 0x03

/* HOST communications socket number */

#define HOSTSOCKET hostsocket
#define DEFAULTHOSTSOCKET 3193

/* are we using BSD Sockets?                                      */
/* if not then it will use the DVX mailbox system which means all */
/* servers have to run on the host's machine                      */

#define BSD_43

#define BROAD_ADDR 0x0ffffffffL

#define HISTORY 20

