Telnet++
A C++ library for interacting with Telnet streams
client.hpp
1 #pragma once
2 
3 #include "telnetpp/client_option.hpp"
4 
5 namespace telnetpp { namespace options { namespace naws {
6 
7 //* =========================================================================
9 //* =========================================================================
10 class TELNETPP_EXPORT client : public telnetpp::client_option {
11 public :
12  //* =====================================================================
14  //* =====================================================================
15  client();
16 
17  boost::signals2::signal<
18  std::vector<telnetpp::token> (telnetpp::u16, telnetpp::u16),
20  > on_window_size_changed;
21 
22 private :
23  //* =====================================================================
26  //* =====================================================================
27  std::vector<telnetpp::token> handle_subnegotiation(
28  u8stream const &content) override;
29 
30 };
31 
32 }}}
An implementation of the client side of the Telnet NAWS option.
Definition: client.hpp:10
A class that represents a Telnet option&#39;s client side.
Definition: client_option.hpp:34
A collection of bytes that models the Standard Library&#39;s Container concept.
A combiner for tokens.
Definition: element.hpp:47
Definition: byte_converter.hpp:4