Refactor inet_connect_opts function refactor address resolution code to fix nonblocking connect remove getnameinfo call Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Amos Kong <[email protected]> Signed-off-by: Orit Wasserman <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>