Refactor of ZmqSocket (#109)

Changed data type of address from char[1000] to string to reduce stack size of object.

Removed redundant calls to Close

Removed function exposing the socket descriptor

Using functions from network_utils instead of duplicates

Added tests
This commit is contained in:
Erik Fröjdh
2020-06-19 12:41:03 +02:00
committed by GitHub
parent 12b40a44a2
commit 5bf6b7a338
7 changed files with 154 additions and 163 deletions

View File

@ -30,7 +30,7 @@ add_library(slsReceiverShared SHARED
)
if(SLS_LTO_AVAILABLE)
if((CMAKE_BUILD_TYPE STREQUAL "Release") AND SLS_LTO_AVAILABLE)
set_property(TARGET slsReceiverShared PROPERTY INTERPROCEDURAL_OPTIMIZATION True)
endif()