This Project Has Not Released Any Files
ストリーム演算子を使ってtelnetアクセスを行う。
ヘッダーファイル:roast/net/telnet.hpp
- namespace roast
- {
- template <
- typename _SocketT = ::roast::tcp_socket,
- typename _Strm = ::roast::stream::socket_stream<true,_SocketT> >
- class telnet_ : public _Strm
- {
- public:
- telnet_();
- telnet_(const char* host, int port_no);
- bool connect(const char* host, int port_no);
- };
- typedef telnet_<> telnet;
- }
みたいな感じだったような。
ストリームはRoast独特のものなのでstream参照。