09-22-2010 05:32 PM
I am trying to use the AMC api to send data across a TCPIP connection and randomly messages will get lost. Is it possible that the use of the XML string inside the api for the message format could be interfering?
09-22-2010 06:15 PM
I will answer my own question. Yes that is the source of my missing messages. Luckily it is easy to replace with flatten to string and resolves the problem. Hope this helps some one else.
02-10-2011 01:41 PM
I know I am replying to a pretty old thread but I stumbled upon it searching for AMC.
Even though replacing the xml with a flattened string fixed your problem that may not have been the cause. AMC messages are sent as UDP unless there is an option I don't know about. UDP packets can get lost and that is normal.
So maybe replacing the XML with a flattened string is just masking the "problem" of dropped messages. XML is going to result in a larger amount of data. Maybe this resulted in more UDP packets.
If you are still here, have you ever seen dropped messages since you made that change?
Oh and you would have probably got a quicker answer over here.