How to receive data stream via TCP

whorl's icon

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.

Max Patch
Copy patch and select New From Clipboard in Max.

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

DRKOSS's icon

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

pdelges's icon

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

whorl's icon

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