Re: [zeromq-dev] tcp protocol not supported on socket of type ZMQ_REQ

2019-08-29 Thread Jake
You have an extra colon in your protocol, "tcp:://" should be "tcp://". On Thu, Aug 29, 2019 at 8:24 AM Tomasz Michalski wrote: > of course here is sock.bind("tcp://*:"), not udp > > czw., 29 sie 2019 o 14:19 Tomasz Michalski > napisał(a): > >> Hi >> I have problem with usage of zeromq. >>

Re: [zeromq-dev] tcp protocol not supported on socket of type ZMQ_REQ

2019-08-29 Thread Tomasz Michalski
of course here is sock.bind("tcp://*:"), not udp czw., 29 sie 2019 o 14:19 Tomasz Michalski napisał(a): > Hi > I have problem with usage of zeromq. > > I am able to create server socket over tcp: > zmq::context_t context(1); > zmq::socket_t sock(context, ZMQ_REP); > try > {

[zeromq-dev] tcp protocol not supported on socket of type ZMQ_REQ

2019-08-29 Thread Tomasz Michalski
Hi I have problem with usage of zeromq. I am able to create server socket over tcp: zmq::context_t context(1); zmq::socket_t sock(context, ZMQ_REP); try { sock.bind("udp://*:"); //BTW: ip address of this server is 192.168.101.1 setDefaultSocketOptions(sock,