[PD-cvs] SF.net SVN: pure-data:[15700] trunk/externals/mrpeach/net/tcpclient.c

mrpeach at users.sourceforge.net mrpeach at users.sourceforge.net
Thu Nov 3 19:40:32 CET 2011

Revision: 15700
Author:   mrpeach
Date:     2011-11-03 18:40:32 +0000 (Thu, 03 Nov 2011)
Log Message:
To prevent overwriting the send buffer with multiple simultaneous messages, each sender thread now gets its own buffer.
(Usually a multiple message results in two TCP packets, with the first message in the first packet and the rest in the second.)
The buffers are preallocated and assigned to threads in round-robin fashion. There are MAX_TCPCLIENT_THREADS (32) buffers.
Wait for all threads to terminate before disconnecting a socket.

Modified Paths:

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

More information about the Pd-cvs mailing list