[zeromq-dev] Question for Python example in Perf folder

Aamir M intuitionist at gmail.com
Tue Apr 21 20:44:13 CEST 2009


kfadnis,
Try

py_local_thr localhost localhost:1234 10 10000
py_remote_thr localhost 10 10000

The first argument tells py_local_thr where to find zmq_server and the
second argument tells it which IP and port to bind its service to (I chose
port 1234 as an example). The first argument to py_remote_thr tells it where
to find  zmq_server. Notice that py_remote_thr does not need an "interface"
argument because the zmq_server directory service will automatically
tell py_remote_thr where on the network the py_local_thr global resource is
located (in this case it is located at localhost:1234).

Aamir


On Tue, Apr 21, 2009 at 12:41 PM, kfadnis <kfadnis at gmail.com> wrote:

> Very basic question, but I am not even able to run locally the py_local_thr
> and py_remote_thr example.
>
> what are the arguments supposed to be for hostname,  interface on a
> standalone computer running XP.
>
> Also, the way I am running the examples, I start the zmq_server first and
> then run
> py_local_thr localhost interface 10 10000
>
> py_remote_thr localhost 10 10000
>
> Thanks.
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090421/9136441f/attachment.html>


More information about the zeromq-dev mailing list