Commit d1e09578 authored by unknown's avatar unknown

Hardcoded loopback address removed from fd_signaler

parent f4832faf
......@@ -21,6 +21,7 @@ Pavel Gushcha
Pavol Malosek
Steven McCoy
Tamara Kustarova
Tero Marttila
Terry Wilson
Vitaly Mayatskikh
......
......@@ -127,7 +127,9 @@ zmq::fd_signaler_t::fd_signaler_t ()
memset (&addr, 0, sizeof (addr));
addr.sin_family = AF_INET;
resolve_ip_hostname (&addr, "127.0.0.1:0");
//resolve_ip_hostname (&addr, "127.0.0.1:0");
addr.sin_addr.s_addr = htonl (INADDR_LOOPBACK);
addr.sin_port = 0;
int rc = bind (listener, (const struct sockaddr*) &addr, sizeof (addr));
wsa_assert (rc != SOCKET_ERROR);
......
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