Forums > MaxMSP

TCP/IP – receiving XML messages from an application.

Jul 19 2012 | 3:45 pm


I have been trying to receive XML messages sent by an application.
I have tried using the mxj.tcp.recv object but with no luck.

I have tested these application messages using a Telnet connection (using Tera Term) and it does receive messages however nothing at the Max end.

Does anyone have any suggestions?


Jul 19 2012 | 7:07 pm


you might have a look at my networking tools in The sadam Library, namely, the object called [sadam.tcpReceiver]. Although it’s not clear how your application is sending the XML, [sadam.tcpReceiver] will let you receive the stream in pure binary format, therefore you’ll have a chance to get the actual XML from your stream (probably you’ll need to send the incoming bytes to the [itoa] object).

Hope this helps,

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > MaxMSP