[PD] tcpserver/client question

Ivica Ico Bukvic ico at vt.edu
Thu Mar 25 19:33:10 CET 2010


Ok, I tried now working with the tcpserver/client model and am unable to
solve following problem:

when a tcpclient (or server) outputs a long string, it splits is for
some reason into two separate lines (perhaps that is how the buffer
wraps around?). Adjusting buf size makes no difference. I tried using
bytes2any and any2bytes but those messages are unable to join lines that
have been separated while being sent from one object to another (even
though they have been separated at a point where no separator has been
added to the stream). What am I missing?

BTW, I am using 0.42.5 extended version of these objects. On a sidenote,
in this version tcpserver has apparently an out-of-order output out of
its outlets with the third preceding fourth (instead of the other way
around).

Best wishes,

Ico





More information about the Pd-list mailing list