Telnet++ 4.0.0.9
A C++ library for interacting with Telnet streams
Loading...
Searching...
No Matches
client.hpp
1#pragma once
2
3#include "telnetpp/client_option.hpp"
4
6
7class codec;
8
9//* =========================================================================
12//* =========================================================================
13class TELNETPP_EXPORT client : public telnetpp::client_option
14{
15public:
16 //* =====================================================================
18 //* =====================================================================
19 explicit client(telnetpp::session &sess, codec &cdc);
20
21private:
22 //* =====================================================================
25 //* =====================================================================
26 void handle_subnegotiation(telnetpp::bytes data) override;
27
28 codec &codec_;
29};
30
31} // namespace telnetpp::options::mccp
A class that represents a Telnet option's client side. That is, the side that receives WILL and WONT ...
Definition client_option.hpp:35
A server option responsible for negotiating the client part of the MCCP protocol.
Definition client.hpp:14
Represents an object that can transform (encode or decode) arbitrary byte sequences....
Definition codec.hpp:18
An abstraction for a Telnet session.
Definition session.hpp:141
An implementation of the Mud Client Compression Protocol.
Definition client.hpp:5