Michel,
Much of the work for what you're talking about is already done by others in
zproject (see
https://github.com/zeromq/zproject/blob/master/zproject_bindings_python.gsl).
The zproject code generators do two major things:
1) generate the build systems and project skeleton for a C library.
2)
Happy to hear you got it working.
I'm not sure how. :-)
On Thu, Apr 23, 2015 at 10:11 PM, Steven Butner wrote:
> This is a follow-up to an inquiry I posted last Saturday (4/18) entitled
> "question on zloop reader arg #2 type.
>
> Note that I do not understand how to properly attach a follow-up
This is a follow-up to an inquiry I posted last Saturday (4/18) entitled
"question on zloop reader arg #2 type.
Note that I do not understand how to properly attach a follow-up reply
on this mailing list so that my comment gets placed in the proper
thread. I'd appreciate any directions on this
Ah sorry you're right I didn't correctly understand your question.
If your client disconnects its socket the router should free the
resources. If you set ZMQ_ROUTER_MANDATORY an error will be returned if
the peer no longer exists.
-Michel
On Thu, Apr 23, 2015 at 8:03 AM, Diego Fons wrote:
>
Generating pyzmq is one approach, another to consider is generating a
python C wrapper around the zproto C generation with ctypes or cffi. That
way it just becomes a thin layer on top of an already proven one. I've
briefly looked at the latter but haven't had time to spike the idea out any
furthe
Hi Michel,
I'm aware of that, but I still don't know how that can help me with the
problem (may be I was not clear enough).
Using credit-based flow:
- The client connects with identity A.
- The client asks for chunks 0 to 9.
- The client dies (it means the socket will be re-created and re-connect
Start with the zproto_codec layer, take any of the existing
generators, and copy/rename with a _py in the filename. Build/install
imatix/gsl. Take zproto_example.xml and generate using:
gsl -script:zproto_codec_py zproto_example
On Thu, Apr 23, 2015 at 1:08 PM, Arnaud Loonstra wrote:
> Hi al
- please provide your test case as a minimal program
- don't do any TCP tuning unless you know why you're doing it
On Thu, Apr 23, 2015 at 8:35 AM, Li Ma wrote:
> Hi all,
>
> I wanna test a simple application using PUSH/PULL to send a big chunk of data.
> The application is straightforward.
>
>
Hi all,
I'm currently working on porting zgossip to Python but running into
wrapping my head around zproto which is used to generate the code. Has
there been any attempt for generating python code using zproto? I see
there's go, php and csharp support? Any pointers to what it would mean
to add