Re: [ovs-dev] [PATCH 06/14] socket-util: poll() for Windows.

2014-02-21 Thread Ben Pfaff
On Fri, Feb 21, 2014 at 11:38:19AM -0800, Gurucharan Shetty wrote: > On Thu, Feb 20, 2014 at 5:14 PM, Ben Pfaff 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

Re: [ovs-dev] [PATCH 06/14] socket-util: poll() for Windows.

2014-02-21 Thread Gurucharan Shetty
On Thu, Feb 20, 2014 at 5:14 PM, Ben Pfaff 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 >> Signed-off-by: Linda Sun >> Signed-off-by: Gurucha

Re: [ovs-dev] [PATCH 06/14] socket-util: poll() for Windows.

2014-02-20 Thread Ben Pfaff
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 > Signed-off-by: Linda Sun > Signed-off-by: Gurucharan Shetty The use of MSG_DONTWAIT here is just caution,

[ovs-dev] [PATCH 06/14] socket-util: poll() for Windows.

2014-02-19 Thread Gurucharan Shetty
Windows send() does not have a MSG_DONTWAIT. So, use the get_socket_error() function. Co-authored-by: Linda Sun Signed-off-by: Linda Sun Signed-off-by: Gurucharan Shetty --- lib/socket-util.c | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git