MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / redisAsyncConnectBind

Function redisAsyncConnectBind

deps/hiredis/async.c:200–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200redisAsyncContext *redisAsyncConnectBind(const char *ip, int port,
201 const char *source_addr) {
202 redisOptions options = {0};
203 REDIS_OPTIONS_SET_TCP(&options, ip, port);
204 options.endpoint.tcp.source_addr = source_addr;
205 return redisAsyncConnectWithOptions(&options);
206}
207
208redisAsyncContext *redisAsyncConnectBindWithReuse(const char *ip, int port,
209 const char *source_addr) {

Callers 1

Calls 1

Tested by

no test coverage detected