On some networking stacks, a UDP connect can also return EINPROGRESS or EWOULDBLOCK.
This patch: - handles the EINPROGRESS for UDP connects - uses closesocket instead of close on some paths that were noticed
Thanks, Charles