Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
4e5843b8
Commit
4e5843b8
authored
Aug 21, 2015
by
Constantin Rack
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1543 from csiro-workspace/master
Set signaler_port to 0 which allows the OS to find a free port
parents
ec98916e
7e09306c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
CMakeLists.txt
CMakeLists.txt
+5
-2
config.hpp
src/config.hpp
+5
-1
No files found.
CMakeLists.txt
View file @
4e5843b8
...
...
@@ -326,7 +326,9 @@ endif()
#-----------------------------------------------------------------------------
# default to Release build
if
(
NOT CMAKE_BUILD_TYPE
)
if
(
NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES
)
# CMAKE_BUILD_TYPE is not used for multi-configuration generators like Visual Studio/XCode
# which instead use CMAKE_CONFIGURATION_TYPES
set
(
CMAKE_BUILD_TYPE Release CACHE STRING
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
FORCE
)
...
...
@@ -436,7 +438,8 @@ set(cxx-sources
xsub.cpp
zmq.cpp
zmq_utils.cpp
decoder_allocators.cpp
)
decoder_allocators.cpp
config.hpp
)
set
(
rc-sources version.rc
)
...
...
src/config.hpp
View file @
4e5843b8
...
...
@@ -89,7 +89,11 @@ namespace zmq
// On some OSes the signaler has to be emulated using a TCP
// connection. In such cases following port is used.
signaler_port
=
5905
// If 0, it lets the OS choose a free port without requiring use of a
// global mutex. The original implementation of a Windows signaler
// socket used port 5905 instead of letting the OS choose a free port.
// https://github.com/zeromq/libzmq/issues/1542
signaler_port
=
0
};
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment