How to receive data stream via TCP

Jan 12, 2014 at 12:15am

How to receive data stream via TCP

I am having problems receiving a stream of data in a TCP package into Max.

The data stream is coming from a python application and I can see it is streaming via the terminal…but nothing in Max!

I am using the mxj.net.tcp.recv object and have changed the address and port to match that of the server.

I’d be so grateful if anyone could tell me what i’m dojng wrong as i’m a bit baffled…

<code>

– Pasted Max Patch, click to expand. –

</code>

#278044
Jan 13, 2014 at 12:49pm

I’d take a look at node.js and osc-web and try sending from node.js as osc to Max.

#278118
Jan 14, 2014 at 3:30am

Try sadam.tcpReceiver, included in this library: http://www.sadam.hu/en/software

#278181
Jan 14, 2014 at 4:12am

Thanks Patrick, but it seems that the sadam library can only receive binary data. I am dealing with an arbitrary data stream.

DRKOSS, I was hoping to keep the data in TCP for simplicity on the python side (i’m not confident coding). But his may be the only options…

…any other ideas…?

#278192

You must be logged in to reply to this topic.