Telnet++
3.1.0.2
A C++ library for interacting with Telnet streams
|
An implementation of the server side of the Telnet New-Environ option. More...
#include <server.hpp>
Public Member Functions | |
server (telnetpp::session &sess) noexcept | |
Constructor. | |
void | set_variable (telnetpp::bytes name, telnetpp::bytes value) |
Sets a "VAR" type variable in the environment. | |
void | delete_variable (telnetpp::bytes name) |
Deletes a "VAR" type variable from the environment. | |
void | set_user_variable (telnetpp::bytes name, telnetpp::bytes value) |
Sets a "USERVAR" type variable in the environment. | |
void | delete_user_variable (telnetpp::bytes name) |
Deletes a "USERVAR" type variable from the environment. | |
![]() | |
constexpr | server_option (telnetpp::session &sess, telnetpp::option_type code) noexcept |
An implementation of the server side of the Telnet New-Environ option.