Olivier Sannier wrote:
> Francois PIETTE wrote:
>> Here are a few ideas to get high performances:
>> 4) Enlarge winsock buffers
>> 5) Enlarge TWSocket send buffer (BufSize property) to mach actual
>> network packet size. By default BufSize is the size of a standard
>> ethernet packet. 
>> 
> What values would you recommend for a 802.11 100Mbps network?

I do not know what Francois recommends, however I won't touch the 
default values in those networks, see my previous message in this
thread.

> 
>> 6) Avoid dynamic memory allocation as much as possible, including
>> long strings and dynamic arrays.
>> 
> Why is that?

Memory allocation takes some time, reallocations (upon buffer grow) will
also move data around in memory, all this should be avoided as much as
posible.  

--
Arno Garrels
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to