From 943125bd12dbf181f4dfce7babddf1af7bcb7e18 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Wed, 27 Jan 2010 08:47:01 +0100 Subject: Hard-wired constant on OpenVMS replaced by symbolic constant --- src/fd_signaler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fd_signaler.cpp b/src/fd_signaler.cpp index a49dd99..f42b95f 100644 --- a/src/fd_signaler.cpp +++ b/src/fd_signaler.cpp @@ -295,8 +295,8 @@ int zmq::fd_signaler_t::socketpair (int domain_, int type_, int protocol_, // Fill in the localhost address (127.0.0.1). memset (&lcladdr, 0, sizeof (lcladdr)); lcladdr.sin_family = AF_INET; - lcladdr.sin_addr.s_addr = 0x0100007f; - lcladdr.sin_port = INADDR_ANY; + lcladdr.sin_addr.s_addr = htonl (INADDR_LOOPBACK); + lcladdr.sin_port = 0; listener = socket (AF_INET, SOCK_STREAM, 0); errno_assert (listener != -1); -- cgit v1.2.3