>> Oh, I though this would just be for inproc connections.  As in, the
>> total size of all buffers should be SNDHWM + RCVHWM.  For TCP, there
>> are buffers on either side of the network connection, and so you get
>> this by having one side create a SNDHWM buffer, and the other create
>> a RCVHWM buffer.  It's only in the inproc connection — where there's
>> only a single buffer — where you'd have to add together the values to
>> get the correct buffer size.
> 
> Agreed. I haven't suggested otherwise btw.

Ah whoops, my bad.  I should read more carefully next time!

Here's an updated patch:

Attachment: 0001-Correct-HWM-and-SWAP-for-inproc-connections.patch
Description: Binary data


This still isn't implementing the split SNDHWM/RCVHWM that you talked about 
earlier; this just computes the sum of the existing HWM and SWAP options.

–doug

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to