Use a new socket for each of the host's IP addresses.

If Socket.connect() times out, the socket cannot be used any
more - any attempt to do so fails with EBADF. Use a new
socket for each IP address.

Bug: 16664129
Change-Id: If3616df86f7c2da0eabd30dca5db65d0da85cb17
1 file changed
tree: ebe8de77319d42859edf543af56f5ac6bb4b61ae
  1. core/
  2. services/
  3. tests/