Hi Matteo,

Matteo <[email protected]> writes:

> One doubt remains: I am binding a node to an address that is not of
> the machine where the node is located.

From zmq_bind(3):

  The zmq_bind() function binds the socket to a local endpoint and then
  accepts incoming connections on that endpoint.

So, a "bind" requires an address that is always "local".  For "tcp://"
addresses this means the host part must resolve to (or be) an IP address
that is provided by the system running the software doing the "bind".

It is "connect" that may be given a remote address if the transport
allows for that (as does "tcp://").

In your case, it sounds like having the endpoint on your cloud host do
the "bind" and the one running from your home network "connect" to it
might be good.

-Brett.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to