[ovs-dev] [PATCH 1/2] collectors: Use closocket() to close sockets.

Ben Pfaff blp at nicira.com
Mon Jul 27 22:29:44 UTC 2015


On Mon, Jul 27, 2015 at 01:44:33PM -0700, Gurucharan Shetty wrote:
> We should use closesocket() while closing sockets so that
> closing sockets work fine on both POSIX and Windows.
> (In POSIX, we #define closesocket close)
> 
> Without this change, sflow unit tests would cause ovs-vswitchd
> to crash in Windows.
> 
> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>

s/closocket/closesocket/ in the subject

Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list