b[0] = DM; send (s, b, 1, MSG_OOB);
b[1] = DM; send (s, b, 2, MSG_OOB); break; case TS_RECHO: if (o_echo.state == INACTIVE || o_echo.state == REALLY_INACTIVE) { o_echo.state = REQUESTED; send_opt (o_echo.send, o_echo.option); } break; case TS_LECHO: if (o_echo.state == ACTIVE) { o_echo.state = REQUESTED; send_opt (o_echo.nsend, o_echo.option); }
static void telnet_special (Telnet_Special code) {    unsigned char b[2];    if (s == INVALID_SOCKET)	return;    b[0] = IAC;    switch (code) {      case TS_AYT: b[1] = AYT; s_write (b, 2); break;      case TS_BRK: b[1] = BREAK; s_write (b, 2); break;      case TS_EC: b[1] = EC; s_write (b, 2); break;      case TS_EL: b[1] = EL; s_write (b, 2); break;      case TS_GA: b[1] = GA; s_write (b, 2); break;      case TS_NOP: b[1] = NOP; s_write (b, 2); break;      case TS_ABORT: b[1] = ABORT; s_write (b, 2); break;      case TS_AO: b[1] = AO; s_write (b, 2); break;      case TS_IP: b[1] = IP; s_write (b, 2); break;      case TS_SUSP: b[1] = SUSP; s_write (b, 2); break;      case TS_EOR: b[1] = EOR; s_write (b, 2); break;      case TS_EOF: b[1] = xEOF; s_write (b, 2); break;      case TS_SYNCH:	outbuf_head = outbuf_reap = 0;	b[0] = DM;	send (s, b, 1, MSG_OOB);	break;    }}