Use getaddrinfo(3) in redisContextConnectTcp.
Use getaddrinfo(3) in redisContextConnectTcp.

Change redisContextConnectTcp() function to use getaddrinfo(3) to
perform address resolution, socket creation and connection. Resolved
addresses are limited to those reachable by the AF_INET family.

hidebug/hiredis,jinguoli/hiredis,xjzhou/hiredis,arinal/hiredis,rangan337/hiredis,Yhgenomics/hiredis,rangan337/hiredis,Microsoft/hiredis,redis/hiredis,jinguoli/hiredis,badboy/hiredis-win,owent-contrib/hiredis,thedrow/hiredis,charsyam/hiredis,picrin/redisSamples,owent-contrib/hiredis,Microsoft/hiredis,liulingfree/hiredis,thomaslee/hiredis,hidebug/hiredis,galdor/hiredis,redis/hiredis,chenlicong0821/hiredis,xjzhou/hiredis,galdor/hiredis,redis/hiredis,jinguoli/hiredis,olgeni/hiredis,h1048576/hiredis,thomaslee/hiredis,tattsun/hiredis,yiliaofan/hiredis,nokiddin/hiredis,tattsun/hiredis,nherment/arsenic,lxfontes/hiredis,jqk6/hiredis,liulingfree/hiredis,charsyam/hiredis,olgeni/hiredis,chenlicong0821/hiredis,Yhgenomics/hiredis,koenvandesande/hiredis