Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 982753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:44:49+00:00 2026-05-16T04:44:49+00:00

I have devices. Each one sends data to (server IP-address) over a particular port

  • 0

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. even if I’m listening to one device , packets not coming in order

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T04:44:50+00:00Added an answer on May 16, 2026 at 4:44 am

    You are sniffing the RAW packets that are passing through the network driver. At this low level it will be up to you to process and reconstruct the messages by analysing the packets and using things like the TCP seq, the ack/nak messages etc.

    Here is the wikipedia article on the TCP protocol that might help you get started before delving into the deeper side of things.
    http://en.wikipedia.org/wiki/Transmission_Control_Protocol

    And of course the most critical source the RFC.
    https://www.rfc-editor.org/rfc/rfc793

    i assume you are sniffing the data because you have some other application that is actually acting as a server and listening for the data. If now you really should just write an application that listens on the TCP port and reads the data from there. This way the TCP protocol will ensure that you receive all the data in the right order etc. To get started with this, you could use the TcpListener class, or you go use the lower level Socket classes

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some unstructured data that describe setting for each devices. For e.g. for
I have two tables, one with devices and on with corresponding service times. Each
I need to send data to a hardware device over serial port. I'm using
I'm very new to sending data over a serial port through .net and I've
I have ListView which as one TextView in each Row. and im discovering some
Windows Mobile devices have different behaviour for suspending when the device is on battery
Some Java mobile devices have distinct heaps for MIDP and VM. What's the distinction
Applications which run on mobile devices have special user interface requirements. I think Apple
We have a large number of Window Mobile Devices (Symbol MC35 & MC70). I
I have a need to find all of the writable storage devices attached to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.