On Thu, Mar 5, 2009 at 12:53 PM, Lukas Gebauer <gebyl...@mlp.cz> wrote:
>
> So, I made quick fix to current routine. It is not optimal due
> reallocations (what can be a problem on very huge payload only), but
> it avoid this 200ms delay problem.
> What is a problem? You need to send lenght and data by one send call.
> Have you idea how to do it without reallocation? (Some kind of output
> buffering not solve this - it just hide reallocation to buffer
> manipulation routine.)
>
That does seem unavoidable.
I need to transfer a lot of mixed size packets on localhost/LAN as
efficiently as possible. So I guess I'd be forced to send dummy "ACK"
packets anyway. Or use UDP, same request/ack routine.
By the way, is SendBuffer[To] the lowest level data handling routine
available? I'd like to avoid hidden buffering and reallocations if possible.
Kipsus
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public