Brief test of ZMQ on Unix Domain sockets
The test contains of 2 programs sender
and receiver
.
The receiver
starts and waits for messages until a message "exit" appears.
The sender
takes a command line argument, send it to the receiver
and exists.
First, install vcpkg following instructions from the vcpkg GitHub page.
vcpkg.exe install zeromq:x64-windows vcpkg install cppzmq:x64-windows
cd build-windows cmake .. cmake --build .
sudo apt install cppzmq-dev
cd build-linux cmake .. cmake --build .
The executables are currently still dynamically linked. So make sure you have the dll's copied.