socket_wrapper: fix connect() for dgram sockets, if the destination isn't there yet
authorStefan Metzmacher <metze@samba.org>
Mon, 23 Mar 2009 08:16:18 +0000 (09:16 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 23 Mar 2009 11:19:29 +0000 (12:19 +0100)
commit435a0a5a3bc8114991650a78e1f90049d2f3f343
treef371a5d74e8f90da75653ea5357f52828d49174c
parent298bff5019be5a40dc0023b5af1e980fba91abd9
socket_wrapper: fix connect() for dgram sockets, if the destination isn't there yet

Now we defer the real_connect() for dgram sockets to the first send()/sendto() call,
as the destination might not be there at connect time.

Commit 66dc53ee017d74a6f610bbe04337f064901fe2a1 was an incomplete fix for this
problem.

metze
lib/socket_wrapper/socket_wrapper.c