mirror of
https://github.com/boostorg/redis.git
synced 2026-02-09 23:32:35 +00:00
Adds write functions.
This commit is contained in:
@@ -23,7 +23,7 @@ int main()
|
||||
tcp::resolver resv(ioc);
|
||||
tcp::socket socket {ioc};
|
||||
net::connect(socket, resv.resolve("127.0.0.1", "6379"));
|
||||
net::write(socket, net::buffer(req.payload));
|
||||
resp::write(socket, req);
|
||||
|
||||
std::string buffer;
|
||||
for (;;) {
|
||||
|
||||
Reference in New Issue
Block a user