Change async_connect to use connect instead of getsockopt to get the error
authorVolker Lendecke <vl@samba.org>
Sun, 24 May 2009 11:14:12 +0000 (13:14 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 24 May 2009 11:50:54 +0000 (13:50 +0200)
commit9de2efaa5b197c46508c36f50bbe6c5026f2953a
tree75fe11baf9f8b8ef802a118ba07948d01817c28e
parent4906d7fc679210555871bcb080e504fcc11734c6
Change async_connect to use connect instead of getsockopt to get the error

On my Linux box, this is definitely the more reliable strategy with unix domain
sockets, and according to my tests it also works correctly with TCP sockets.
lib/async_req/async_sock.c