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

kfadnis kfadnis at gmail.com
Tue Apr 21 21:27:40 CEST 2009


Thanks Aamir. I understand but the commands below gave me the
following error.

Assertion failed!
Program c:\python25\python.exe
File: ..\..\libzmq\ip.cpp
Line 161

Expression addr.S_un.S_addr !=INADDR_NONE


On Tue, Apr 21, 2009 at 2:44 PM, Aamir M <intuitionist at gmail.com> wrote:

> 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/bc5e7b88/attachment.html>


More information about the zeromq-dev mailing list