There are many situations when you need to know, what data is sent/received by application. To help advanced users/developers, data monitoring feature has been added to VSPE.
Monitoring
At the moment, data monitoring works only for kernel-mode devices, such as
Splitter device,
Connector device and
Pair device.
This feature can be helpful for the software developers. To turn saving on, just click "Save..." button. Binary file consists of record chunks. Each chunk has the following format:
- SecondsFromBeginningOfTheRecord (DWORD - 4 bytes, Little-endian format)
- DataDirection (CHAR - 1 byte). 1 if incoming data, 0 if outgoing data
- DataSizeInBytes (DWORD - 4 size, , Little-endian format)
- RawData (Data, size is specified by the DataSizeInBytes field)
Binary file example
Here is simple binary file example. First record chunk is selected by red rectangle. It has the following values:
- SecondsFromBeginningOfTheRecord = 2 (2 seconds)
- DataDirection = 0 (Outgoing)
- DataSizeInBytes = 4 (4 bytes)
- RawData = Test
Please look at the
Spy device. It provides similar functionality, but works a bit differently.