[fix] - fix connect for win32 - return values are inverted