Commit 352da8ae authored by unknown's avatar unknown

type mismatch in tcp_listener (win version) fixed

parent 14054ecc
...@@ -69,8 +69,8 @@ int zmq::tcp_listener_t::set_address (const char *protocol_, const char *addr_) ...@@ -69,8 +69,8 @@ int zmq::tcp_listener_t::set_address (const char *protocol_, const char *addr_)
wsa_assert (rc != SOCKET_ERROR); wsa_assert (rc != SOCKET_ERROR);
// Set the non-blocking flag. // Set the non-blocking flag.
flag = 1; u_long uflag = 1;
rc = ioctlsocket (s, FIONBIO, (u_long*) &flag); rc = ioctlsocket (s, FIONBIO, &uflag);
wsa_assert (rc != SOCKET_ERROR); wsa_assert (rc != SOCKET_ERROR);
// Bind the socket to the network interface and port. // Bind the socket to the network interface and port.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment