Small fix.

This commit is contained in:
Jovan Bunjevacki 2020-05-30 20:30:23 +02:00
parent c89390f0f5
commit c32462cde0

View File

@ -104,7 +104,7 @@ zmq::fd_t zmq::open_socket (int domain_, int type_, int protocol_)
// the race condition in making it non-inheritable later is avoided
const fd_t s =
WSASocket (domain_, type_, protocol_, NULL, 0,
WSA_FLAG_OVERLAPPED || WSA_FLAG_NO_HANDLE_INHERIT);
WSA_FLAG_OVERLAPPED | WSA_FLAG_NO_HANDLE_INHERIT);
#else
const fd_t s = socket (domain_, type_, protocol_);
#endif