Use getaddrinfo(3) in anetTcpGenericConnect.
Use getaddrinfo(3) in anetTcpGenericConnect.

Change anetTcpGenericConnect() 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.

ScottKaiGu/redis,jaambee/redis,fanxu/redis,oaastest/redis,Cybermaxs/redis,adamweixuan/redis,sidsen/redis,laurencee/redis,jaambee/redis,enginekit/redis,nandhanurrevanth/redis,powerumc/MyRedis_old,powerumc/MyRedis_old,shanegxxiao/redis,quangnguyen90/redis,jacklee0810/redis,janeasystems/redis,richmonkey/netleveldb,kolonse/redis,jaambee/redis,oaastest/redis,Jonavin/redis,laurencee/redis,jqk6/redis,shanegxxiao/redis,jacklee0810/redis,ScottKaiGu/redis,powerumc/MyRedis_old,Cybermaxs/redis,laurencee/redis,nandhanurrevanth/redis,liqiang199105/redis,janeasystems/redis,crask/redis-cutter,upsoft/redis,erwin00776/redis-2.8-optimize,kts12345/redis,kolonse/redis,adamweixuan/redis,StartTheShift/redis-shift,erwin00776/redis-2.8-optimize,LittlePeng/redis,alpha8/redis,richmonkey/netleveldb,liqiang199105/redis,upsoft/redis,damy/redis,nandhanurrevanth/redis,Jonavin/redis,miminus/redis,hanmichael/redis,jacklee0810/redis,kts12345/redis,shanegxxiao/redis,Jonavin/redis,LittlePeng/redis,janeasystems/redis,kolonse/redis,upsoft/redis,powerumc/MyRedis,alpha8/redis,erwin00776/redis-2.8-optimize,Jonavin/redis,hanmichael/redis,LittlePeng/redis,ScottKaiGu/redis,enginekit/redis,crask/redis-cutter,kolonse/redis,alpha8/redis,kts12345/redis,nandhanurrevanth/redis,oaastest/redis,ideaar/redis,jaambee/redis,sidsen/redis,damy/redis,damy/redis,miminus/redis,ideaar/redis,upsoft/redis,jaambee/redis,hanmichael/redis,adamweixuan/redis,richmonkey/netleveldb,sidsen/redis,ideaar/redis,janeasystems/redis,miminus/redis,hanmichael/redis,hanmichael/redis,adamweixuan/redis,oaastest/redis,ScottKaiGu/redis,erwin00776/redis-2.8-optimize,crask/redis-cutter,alpha8/redis,quangnguyen90/redis,fanxu/redis,liqiang199105/redis,shanegxxiao/redis,adamweixuan/redis,powerumc/MyRedis_old,miminus/redis,fanxu/redis,oaastest/redis,enginekit/redis,Jonavin/redis,nandhanurrevanth/redis,janeasystems/redis,ideaar/redis,jacklee0810/redis,kts12345/redis,fanxu/redis,kts12345/redis,kolonse/redis,sidsen/redis,jqk6/redis,enginekit/redis,jqk6/redis,miminus/redis,StartTheShift/redis-shift,ScottKaiGu/redis,richmonkey/netleveldb,Cybermaxs/redis,Cybermaxs/redis,jqk6/redis,ideaar/redis,liqiang199105/redis,jacklee0810/redis,alpha8/redis,laurencee/redis,shanegxxiao/redis,sidsen/redis,liqiang199105/redis,quangnguyen90/redis,Cybermaxs/redis,jqk6/redis,quangnguyen90/redis,powerumc/MyRedis,laurencee/redis,sidsen/redis,upsoft/redis,damy/redis,damy/redis,quangnguyen90/redis,enginekit/redis,powerumc/MyRedis,StartTheShift/redis-shift