mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 12:18:04 +01:00
type mismatch in tcp_listener (win version) fixed
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user