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 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…


– Pasted Max Patch, click to expand. –


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.

Jan 14, 2014 at 3:30am

Try sadam.tcpReceiver, included in this library:

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…?


You must be logged in to reply to this topic.