qb  2.0.0.0
C++17 Actor Framework
qb Issue Watch Star Fork Follow @isndev
Loading...
Searching...
No Matches
tcp.h
Go to the documentation of this file.
1
24
25#ifndef QB_IO_TRANSPORT_TCP_H
26#define QB_IO_TRANSPORT_TCP_H
27#include "../stream.h"
28#include "../tcp/socket.h"
29
30namespace qb::io::transport {
31
42class tcp : public stream<io::tcp::socket> {
43public:
45 constexpr bool is_secure() const noexcept { return false; }
46};
47
48} // namespace qb::io::transport
49
50#endif // QB_IO_TRANSPORT_TCP_H
Combined input/output stream template class.
Definition stream.h:303
TCP transport providing reliable, stream-based network communication.
Definition tcp.h:42
constexpr bool is_secure() const noexcept
Indicates that this transport implementation is not secure.
Definition tcp.h:45
Core stream abstraction classes for the QB IO library.
Implementation of TCP sockets for the QB IO library.