[Common-dev] SOD: Socket write buffer rework

[Common-dev] SOD: Socket write buffer rework

Liam Murray liamm at real.com
Fri Sep 24 16:41:58 PDT 2004


Is HX_IOV_MAX a compile time constant or can you alter it via a socket 
option? This isn't really a concern for the client. I'm just curious.

I agree with your other email. I don't really see a use/need for buffering 
UDP since it is unreliable.

"If writes are not currently blocked,an immediate write will be performed 
when either the current write array has HX_MAX_IOV elements filled or the 
current write array contains at least MSS
bytes."

What if the user stops (or pauses) writing before this condition is met? Is 
it possible this will lead to a case where data might end up being held 
indefinitely? (I believe nagle for example will send once all outstanding 
data is acknowledged if there data in the outgoing buffer does not exceed 
the MSS.)

Liam



At 05:39 PM 9/23/2004, Tom Marshall wrote:
>The socket write buffer needs rewritten.  Please see attached for
>motivations and proposed implementation.
>
>--
>One of the saddest lessons of history is this:  If we've been bamboozled
>long enough, we tend to reject any evidence of the bamboozle.  We're no
>longer interested in finding out the truth.
>         -- Carl Sagan, "The Fine Art of Baloney Detection"
>
>
>_______________________________________________
>Common-dev mailing list
>Common-dev at lists.helixcommunity.org
>http://lists.helixcommunity.org/mailman/listinfo/common-dev




More information about the Common-dev mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.