-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ivica Ico Bukvic wrote: > 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
the reason is, that tcp/ip works like this. it is a stream based protocol, that is: message agnostic. bytes are guaranteed one after each other, but there is no delimiter between bytes. if you need a delimiter, you have to transmit one (FUDI uses ";" as a message delimiter; OSC-over-TCP transmits the message-length, so the receiver can repratition the stream accordingly, fg,sdf IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkusxuIACgkQkX2Xpv6ydvT+qACg4kspQJEx7doK3p8xEuqthAoo JN8AoMve6qWuFXPsrcJHzEypQ1lWupfL =p+s2 -----END PGP SIGNATURE----- _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
