Fang, What is the biggest difference between nanomsg and proxyio? ------------------ Original ------------------ From: "Ramakrishna Mallireddy"<ramakrishna.malli@xxxxxxxxx>; Date: Sun, Jun 15, 2014 08:24 PM To: "nanomsg"<nanomsg@xxxxxxxxxxxxx>; Subject: [nanomsg] Re: REQ/REP worker example Thanks fang, for the link. On Sun, Jun 15, 2014 at 5:16 PM, 老栋 <yp.fangdong@xxxxxxxxx> wrote: you can try proxyio http://proxyio.org/reqrep.7.html but it seems very unstable 2014-6-14 上午7:11于 "Drew Crawford" <drew@xxxxxxxxxxxxxxxxxx>写道: Check here //www.freelists.org/post/nanomsg/Asynchronous-raw-sockets-in-nanomsg,1 As Martin said, this hasn't been implemented so unless you are getting your hands dirty it won't be much help. Sent from my iPad On Jun 13, 2014, at 3:21 AM, Ramakrishna Mallireddy <ramakrishna.malli@xxxxxxxxx> wrote: I have searched the mailing list with "multiflight" but didn't get any results, Can you provide any link / search term for the discussion archives. I have read " Asynchronous REQREP " which states the same thing "I have looked through the archives and have seen this come up multiple times" at the start of the post. but not able to find any other posts related. Even though I understood the below signature, I don't have the background to understand what the handler callback does here? any reference would be of great help. int nn_req_send (int s, void *hndl, const void *buf, size_t len, int flags); int nn_req_recv (int s, void **hndl, void *buf, size_t *len, int flags); ThanksR K On Fri, Jun 13, 2014 at 11:35 AM, Martin Sustrik <sustrik@xxxxxxxxxx> wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Drew, > In the absence of a better implementation for “multiflight” > req/rep, you’re going to want to create a REP worker pool, where > each REP socket in the pool runs on its own thread. The "multiflight" REQ sockets were discussed several times on this list and they are even not that hard to implement. I've just never head enough free time to do it... The idea was like this: int nn_req_send (int s, void *hndl, const void *buf, size_t len, int flags); int nn_req_recv (int s, void **hndl, void *buf, size_t *len, int flags); Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTmpTCAAoJENTpVjxCNN9YX/EH/3x2AorcidyVT0leTUNb2/He R9MmPCcE7flLxbJCk9ZxHnHEybI52QnCLtU6p6FFt2PXGy5EyJpCgpP3920e8L34 dTHF9l8Lb7y7NaJFa6EKiWtEMnMYg4BV1Hwan9EuWv7453s5adtgBGzyEHVIK12t ownGPK8kpJRmMPhp+bwxkhTTFWssjEpq58W2AXgUfD7GSu9F8fUsjAoeBq6jR/K5 /9kHZUC0A6qHEJu+VevLH2fd+N5HmVGsOOiv8CPIHutjEXrlT5RpZj2HsIfmfY9q US0DgHTzshLad5XEuYHi4vmDxY/uZc9/Qxke3XVe3xiym0ytnYz7/sgcm06r9Kw= =Stvw -----END PGP SIGNATURE-----