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

Aamir M intuitionist at gmail.com
Wed Apr 22 02:54:13 CEST 2009


Sorry, I'm not using Windows or Python so I don't really know what to say.
Are you sure that you're running zmq_server? Someone mentioned on this list
that the Python performance tests have to be run in a different order than
the C++ tests? ... I suppose you could try that.

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

> 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/ef33c712/attachment.htm>


More information about the zeromq-dev mailing list