API

Managing a connection to a telnet device. More...

#include <mx/sys/timeUtils.hpp>
#include "../../libs/libtelnet/libtelnet.h"
#include "ttyErrors.hpp"
#include "ttyIOUtils.hpp"
Include dependency graph for telnetConn.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MagAOX::tty::telnetConn
 A Telnet connection manager, wrapping libtelnet. More...
 

Namespaces

 MagAOX
 
 MagAOX::tty
 

Macros

#define TELNET_BUFFSIZE   (1024)
 
#define TELNET_WAITING_USER   (0)
 
#define TELNET_GOT_USER   (1)
 
#define TELNET_WAITING_PASS   (2)
 
#define TELNET_GOT_PASS   (3)
 
#define TELNET_WAITING_PROMPT   (4)
 
#define TELNET_LOGGED_IN   (5)
 

Variables

static const telnet_telopt_t MagAOX::tty::telopts []
 libtelnet option table. More...
 

Detailed Description

Managing a connection to a telnet device.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

History:

  • 2018-08-24 created by JRM

Definition in file telnetConn.hpp.

Macro Definition Documentation

◆ TELNET_BUFFSIZE

#define TELNET_BUFFSIZE   (1024)

Definition at line 43 of file telnetConn.hpp.

◆ TELNET_GOT_PASS

#define TELNET_GOT_PASS   (3)

Definition at line 59 of file telnetConn.hpp.

◆ TELNET_GOT_USER

#define TELNET_GOT_USER   (1)

Definition at line 57 of file telnetConn.hpp.

◆ TELNET_LOGGED_IN

#define TELNET_LOGGED_IN   (5)

Definition at line 61 of file telnetConn.hpp.

◆ TELNET_WAITING_PASS

#define TELNET_WAITING_PASS   (2)

Definition at line 58 of file telnetConn.hpp.

◆ TELNET_WAITING_PROMPT

#define TELNET_WAITING_PROMPT   (4)

Definition at line 60 of file telnetConn.hpp.

◆ TELNET_WAITING_USER

#define TELNET_WAITING_USER   (0)

Definition at line 56 of file telnetConn.hpp.