Testing Spices::Net::Read/Write.
88 {
89
91
93
97
98 std::thread server([&]() {
100 });
101
102 std::thread client([&]() {
104 });
105
106 server.join();
107 client.join();
108 }
#define SPICESTEST_PROFILE_FUNCTION()
size_t WriteableBytes() const
Get writeable area bytes.
size_t ReadableBytes() const
Get readable area bytes.
size_t HeaderBytes() const
Get header area bytes.
Wrapper of readwrite buffer.
This class is Wrapper of current socket address.