mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
Hard-wired constant on OpenVMS replaced by symbolic constant
This commit is contained in:
parent
aa27034db5
commit
943125bd12
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user