Telnet++
3.1.0.2
A C++ library for interacting with Telnet streams
|
A server option responsible for negotiating the server part of the MCCP protocol. More...
#include <server.hpp>
Public Member Functions | |
server (telnetpp::session &sess, codec &cdc) | |
Constructor. | |
void | start_compression () |
Requests that compression begins. If the option is active, then this sends a sequence that will begin compression. Otherwise, the sequence will be sent as soon as the option is activated. | |
void | finish_compression () |
Requests that compression ends. If the option is active, then this sends a sequence that will end compression. If the option is not active, then this also cancels any request to begin_compression that would auto-start compression on activation. | |
![]() | |
constexpr | basic_server (telnetpp::session &sess) noexcept |
Constructor. | |
![]() | |
constexpr | server_option (telnetpp::session &sess, telnetpp::option_type code) noexcept |
A server option responsible for negotiating the server part of the MCCP protocol.