[zeromq-dev] server with zmq_xrep closes connection automaticly

Zhong Weilin zhwlkobe24 at gmail.com
Tue Sep 18 07:22:35 CEST 2012


any replies?

On Mon, Sep 17, 2012 at 10:03 AM, Zhong Weilin <zhwlkobe24 at gmail.com> wrote:

>
>
> ---------- Forwarded message ----------
> From: Zhong Weilin <zhwlkobe24 at gmail.com>
> Date: Sun, Sep 16, 2012 at 4:24 PM
> Subject: Re: server with zmq_xrep closes connection automaticly
> To: HP010170 <hp010170 at gmail.com>
>
>
> Hi, zmq dev team:
>     The attachments contains two project: server and client test demo, I
> expect you to check if my usage of zmq is ok. The attachment code runs
> well, the code is fetched from my project to make it thin. Zmq official doc
> mentions that client can connect automaticly to the server after it lost
> connection to server, but in fact it doesn't work, so I add some code to
> deal with disconnecting, I hope you guys help me to check the code, and if
> you have any good idea to handle the disconnecting, pls let me know, thank
> you!!!
>
>
> On Thu, Sep 6, 2012 at 11:53 PM, Zhong Weilin <zhwlkobe24 at gmail.com>wrote:
>
>> HP:
>>     Thanks a lot!
>>     I'll send the demo tommorow.
>>
>>
>> On Thu, Sep 6, 2012 at 6:02 PM, HP010170 <hp010170 at gmail.com> wrote:
>>
>>> Zhong:
>>>
>>> If you can provide the source code, it will be easier for the various
>>> 0mq experts on the list to assist with your problem.
>>>
>>> HP
>>>
>>>
>>> On 06/09/2012 06:29, Zhong Weilin wrote:
>>>
>>>> Hi,
>>>>      zeromq develop team.
>>>>      I hit a problem like that: in the begining a certain amount of
>>>> clients(about 20) can connect to the server with zmq_xrep ok and can
>>>> communication normally, but after that client with zmq_req connect to
>>>> the server with zmq_xrep, the server close the connection automaticly, I
>>>> check it with a network packet capture tool named wireshark, why this
>>>> happens ? I'm confuesd about how server deal with multiple clients'
>>>>
>>>> connections. Pls let me know if you check it, thanks!!!
>>>>
>>>>
>>>> ______________________________**_________________
>>>> zeromq-dev mailing list
>>>> zeromq-dev at lists.zeromq.org
>>>> http://lists.zeromq.org/**mailman/listinfo/zeromq-dev<http://lists.zeromq.org/mailman/listinfo/zeromq-dev>
>>>>
>>>>
>>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120918/b5364d5a/attachment.html>


More information about the zeromq-dev mailing list