Your point is fair, but in reality I can't see that it buys me much here. I'm proxying a TCP stream, so I need it reliable, so all I end up doing is re-implementing TCP on top of UDP... It would be possible to avoid the TCP backoff problems due to packet errors (not the same as congestion if you see the point), however, some simple benchmarks suggest that there isn't much to gain here...

TCCP looks interesting mind! However, I need this thing cross platform and stable...

Right now we use lots of compression and multiplexing of connection and even carefully limiting packet size to squeeze absolutely everything out of the link. My remaining issue is to control the OS buffering on the source side. Remember that I don't have control over the sender that I am buffering, so I need to indirectly affect their send speed - I really need to try and drop down the size of the OS buffers here - right now 64KB is a buffer of 3 mins or so!

Any suggestions please...?!!


In reply to Re^4: Control TCP_MAXSEG (OS buffering) on Win32 by TheWildgoose
in thread Control TCP_MAXSEG (OS buffering) on Win32 by TheWildgoose

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.