On 02/22/2017 06:56 PM, Christof Ressi wrote:
"tcpsend sends bytes over a tcp connection.
which is correct.
Used in conjunction with packOSC will send OSC over tcp".
which is only half-correct.
it is only guaranteed to work if you use SLIP.
it *might* happen to work if you messages are small enough so they don't get fragmented during delivery (i think the main problem is, that most tests are done with smallish packets over local connections, where the chances are low that fragmentation will occur).
the problem is, that if you rely on this to work, you are relying on things outside of your control (the TCP/IP stack of all the network devices involved in transmitting your data). you could as well use UDP and hope that no collisions and congestion will happen.
the only way to make it work reliably is by adding an extra packetizing layer. the OSC specs recommend to use SLIP.
gfmasdr IOhannes