void timeout();
enum Command {
- CMD_NONE = static_cast<char>(0),
- CMD_SE = static_cast<char>(240),
- CMD_NOP = static_cast<char>(241),
- CMD_DM = static_cast<char>(242),
- CMD_BRK = static_cast<char>(243),
- CMD_IP = static_cast<char>(244),
- CMD_AO = static_cast<char>(245),
- CMD_AYT = static_cast<char>(246),
- CMD_EC = static_cast<char>(247),
- CMD_EL = static_cast<char>(248),
- CMD_GA = static_cast<char>(249),
- CMD_SB = static_cast<char>(250),
- CMD_WILL = static_cast<char>(251),
- CMD_WONT = static_cast<char>(252),
- CMD_DO = static_cast<char>(253),
- CMD_DONT = static_cast<char>(254),
- CMD_IAC = static_cast<char>(255),
+ CMD_NONE = 0,
+ CMD_SE = 240,
+ CMD_NOP = 241,
+ CMD_DM = 242,
+ CMD_BRK = 243,
+ CMD_IP = 244,
+ CMD_AO = 245,
+ CMD_AYT = 246,
+ CMD_EC = 247,
+ CMD_EL = 248,
+ CMD_GA = 249,
+ CMD_SB = 250,
+ CMD_WILL = 251,
+ CMD_WONT = 252,
+ CMD_DO = 253,
+ CMD_DONT = 254,
+ CMD_IAC = 255,
};
struct OptInfo