| 206 | } |
| 207 | |
| 208 | redisAsyncContext *redisAsyncConnectBindWithReuse(const char *ip, int port, |
| 209 | const char *source_addr) { |
| 210 | redisOptions options = {0}; |
| 211 | REDIS_OPTIONS_SET_TCP(&options, ip, port); |
| 212 | options.options |= REDIS_OPT_REUSEADDR; |
| 213 | options.endpoint.tcp.source_addr = source_addr; |
| 214 | return redisAsyncConnectWithOptions(&options); |
| 215 | } |
| 216 | |
| 217 | redisAsyncContext *redisAsyncConnectUnix(const char *path) { |
| 218 | redisOptions options = {0}; |
nothing calls this directly
no test coverage detected