[PD] EOF on socket
nico
sl1200mk2 at free.fr
Thu Aug 18 21:56:36 CEST 2005
hi
i've flushed the output with no success.
by sending packet every 0.2s , i don't have problem but it's not
genial....
Le 18 août 05, à 21:40, Mathieu Bouchard a écrit :
> On Thu, 18 Aug 2005, nico wrote:
>
>> in fact, it was a problem from tcl [socket]
>> as [netreceive] need to get EOF to process data, i have to open and
>> close
>> connection each time i send data.
>> and [socket] from tcl is as speed to handle 0,1s open/close
>
> after you do a
> puts $fd "13 21;"
> you may eed to do
> flush $fd
>
> this is required so that the data always get sent. Else it only gets
> sent
> when the output-buffer is full (usually 4096 bytes).
>
> ____________________________________________________________________
> Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
> Freelance Digital Arts Engineer, Montréal QC Canada
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
More information about the Pd-list
mailing list