Skip to content

Instantly share code, notes, and snippets.

View vpaladino778's full-sized avatar

Vinny vpaladino778

View GitHub Profile
@vpaladino778
vpaladino778 / client.cpp
Last active February 19, 2020 18:41
ZeroMQ Client/Server - ROUTER/DEALER Minimal Example
#include <iostream>
#include <zmq.hpp>
#include <string>
#include <thread>
#include <chrono>
int main() {
zmq::context_t context(1);
zmq::socket_t socket(context, ZMQ_ROUTER);
socket.bind("tcp://*:5555");
PS C:\Vagrant\my-project-hyperv> vagrant powershell --debug INFO global: Vagrant version: 2.2.5 INFO global: Ruby version: 2.4.6 INFO global: RubyGems version: 2.6.14.4 INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.5\\gems\\vagrant-2.2.5\\bin\\vagrant" INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\HashiCorp\\Vagrant\\embedded" INFO global: VAGRANT_INSTALLER_ENV="1"