I have devices. Each one sends data to (server IP-address) over a particular port in a random time.
Because it's an alarm device and it’s possible that more than one device fired in the same time.
The data is in XML Format.
Now I already got a small windows application which listen for the data But I got a few problems
1 problem is that the application is sniffing the packets. Mean that I can get the data in the TCP packets ....that’s mean that I will get the xml divided in the packets And not in sequence (order by time)...that’s make it so hard to read the xml data Or just arrange it and read from it. I need to read that data coming from the device and save it in xml format.
Any idea how to do that. I saw some other Questions here and I tried all this answers but nothing talking about reading the xml file. I’m using the same code as in this article
http://www.codeproject.com/KB/IP/CSNetworkSniffer.aspx
Thanks for all your help