[PD] Different socket implementation in Windows and Linux

Miller Puckette mpuckett at man104-1.ucsd.edu
Tue Mar 5 05:32:12 CET 2002


hi David,

I've noticed that Windows seems only to deliver TCP packets around
5 times per second (between machines; not on a single machine which
runs with lower latency.)  I've never known what to do about this...
Where do I feed teh TCP_NOWAIT flag?

cheers
Miller
O
On Mon, Mar 04, 2002 at 04:43:20PM +0100, David Jonsson (II) wrote:
> I run PD 0.43-4
> 
> The TCP server socket implementation in Windows PD should have the 
> option TCP_NOWAIT so that data gets sent immediately when it arrives in 
> the buffer.
> 
> This is the case in the Linux version.
> 
> Today I write like 15 times per second to the net and the Linux version 
> receives this fast but the Windows version only produces a output 
> approximately 5 times per second.
> 
> I'm not an expert on sockets but I suppose this is what differs?  Maybe 
> I should add that I run Windows 98 on the client.
> 
> -- 
> David Jonsson
> 
> Interactive Institute AB
> phone +46-703-000 370  or  +46-8-783 24 49   Timezone GMT+1
> org no 556557-3077       http://www.interactiveinstitute.se/
> 
> 
> 
> 
> 
> 



More information about the Pd-list mailing list