mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-01 02:27:49 +08:00
type mismatch in tcp_listener (win version) fixed
This commit is contained in:
parent
14054ecce7
commit
352da8ae87
@ -69,8 +69,8 @@ int zmq::tcp_listener_t::set_address (const char *protocol_, const char *addr_)
|
||||
wsa_assert (rc != SOCKET_ERROR);
|
||||
|
||||
// Set the non-blocking flag.
|
||||
flag = 1;
|
||||
rc = ioctlsocket (s, FIONBIO, (u_long*) &flag);
|
||||
u_long uflag = 1;
|
||||
rc = ioctlsocket (s, FIONBIO, &uflag);
|
||||
wsa_assert (rc != SOCKET_ERROR);
|
||||
|
||||
// Bind the socket to the network interface and port.
|
||||
|
Loading…
x
Reference in New Issue
Block a user