ironzombie99
11-08-2007, 10:37 PM
This post maybe a little out of the "league" for some of you but it is network related.
Supposedly there is a microcontroller with an embedded Ethernet daughter board. I am going to send data from the microcontroller through the embedded Ethernet board (that part is simple at least for me) and the line is running to a pc.
For starters the packet that the embedded Ethernet board sends out is an normal Ethernet packet....with that settled the actual question to you networking guys is that I would like the packet to be saved as a text file on the pc possibly as it is received for right now, how can i go about doing that?
I know there is ethereal to view packets and you can save them from there but i need something to do it automatically. Will some kind of simple program have to be written in order to parse the packet for the information?
*By the way the reason i am using wired Ethernet right now in this example is that it will be part of a larger network, not just one controller to pc connection, by end of the project there maybe 4 or so controllers going through a switch or hub to a pc. The PC as of now is not planned to be connected to internet, just dedicated to this project.
Supposedly there is a microcontroller with an embedded Ethernet daughter board. I am going to send data from the microcontroller through the embedded Ethernet board (that part is simple at least for me) and the line is running to a pc.
For starters the packet that the embedded Ethernet board sends out is an normal Ethernet packet....with that settled the actual question to you networking guys is that I would like the packet to be saved as a text file on the pc possibly as it is received for right now, how can i go about doing that?
I know there is ethereal to view packets and you can save them from there but i need something to do it automatically. Will some kind of simple program have to be written in order to parse the packet for the information?
*By the way the reason i am using wired Ethernet right now in this example is that it will be part of a larger network, not just one controller to pc connection, by end of the project there maybe 4 or so controllers going through a switch or hub to a pc. The PC as of now is not planned to be connected to internet, just dedicated to this project.