You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'd tried to use connection to localhost with this code:
boost::asio::io_service io;
boost::asio::ip::tcp::resolver resolver(io);
boost::asio::ip::tcp::resolver::query query("localhost", "6379");
auto ep = resolver.resolve(query)->endpoint();
redisclient::RedisSyncClient redisInstance;
redisInstance.connect(ep);
but it fails with exception "Invalid argument". I made a research and found out the problem: boost 1.62 resolves localhost as ipv6 endpoint "::1", but redisclient supports only ipv4 (redissyncclient.cpp:65):
Hello, I'd tried to use connection to localhost with this code:
but it fails with exception "Invalid argument". I made a research and found out the problem: boost 1.62 resolves localhost as ipv6 endpoint "::1", but redisclient supports only ipv4 (redissyncclient.cpp:65):
Hope it helps :)
P.S.: Latest version, commit f55ffdc
The text was updated successfully, but these errors were encountered: