telnet.h

wsh/src/tcp-s/telnet.h · 634 B

From the archive wsh-147.tar.gz

Download the archive   « Back to the archive contents

/* Substitute telnet.h file if none is available */


#define	IAC	255		/* start of a command */
#define	DONT	254		/* don't do... */
#define	DO	253		/* will you do?... */
#define	WONT	252		/* I won't do... */
#define	WILL	251		/* I will do.. */


/* telnet options */
#define TELOPT_BINARY	0	/* binary transmission */
#define TELOPT_ECHO	1	/* echo */
#define	TELOPT_RCP	2	/* prepare to reconnect */
#define	TELOPT_SGA	3	/* suppress go ahead */
#define	TELOPT_NAMS	4	/* message size */
#define	TELOPT_STATUS	5	/* tell status */
#define	TELOPT_TM	6	/* timing mark */
#define	TELOPT_RCTE	7	/* remote controlled transmission and echo */

Site Stats

Snippets: 1791
Codebases: 571