TCP/IP – receiving XML messages from an application.

Jul 19, 2012 at 3:45pm

TCP/IP – receiving XML messages from an application.


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 at 7:07pm


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,


You must be logged in to reply to this topic.