[Spread-users] Voice communication using Spread

John Schultz jschultz at spreadconcepts.com
Tue Feb 13 17:29:51 EST 2007

I just wanted to make sure that you know Spread does not do flow control 
for clients.  It is expected clients will do that themselves.

It is true that you can block in SP_multicast and SP_receive, but that has 
nothing to do with whether or not Spread disconnects you (or remote 
readers) because you are sending too fast.


John Schultz
Spread Concepts
Phn: 443 838 2200

On Tue, 13 Feb 2007, Roman Selin wrote:

> Hi Dustin, Jim,
>> You specifically mention "sending" -- if you write 8192 more packets
>> than you read, and you're not using SELF_DISCARD (sp?), you'll fill up
>> your own receive buffer and spread will disconnect you.  It's not very
>> verbose about why it disconnects you -- that would be a nice area for
>> improvement -- so this is just a guess.
> I always use SELF_DISCARD - it was the first thing I've learned
> during my experiments :)
> Perhaps this is the problem of flow control and MAX_SESSION_MESSAGES.
> It would be really nice if Spread returns EWOULDBLOCK - it
> would make life much easier

More information about the Spread-users mailing list