[PD] EOF on socket

Mathieu Bouchard matju at artengine.ca
Thu Aug 18 21:40:00 CEST 2005


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




More information about the Pd-list mailing list