On Thu, Feb 20, 2014 at 5:14 PM, Ben Pfaff <b...@nicira.com> wrote:
> On Wed, Feb 19, 2014 at 03:36:17PM -0800, Gurucharan Shetty wrote:
>> Windows send() does not have a MSG_DONTWAIT.
>> So, use the get_socket_error() function.
>>
>> Co-authored-by: Linda Sun <l...@vmware.com>
>> Signed-off-by: Linda Sun <l...@vmware.com>
>> Signed-off-by: Gurucharan Shetty <gshe...@nicira.com>
>
> The use of MSG_DONTWAIT here is just caution, since it only makes sense
> to use check_connection_completion() on a nonblocking socket anyhow.  So
> I would prefer to just change MSG_DONTWAIT to 0 here.
Okay. Though I do not understand why we are ignoring POLLHUP for pfd.revents.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to