[Winpcap-users] Read SQL data from bytes

tran thanh xbachngoctuyetx at gmail.com
Mon Jul 27 22:52:05 PDT 2009


Dear all,
I use winpcap to captured a packet was responsed from SQLServer,
I want to read the data of the packet,
I have some problems during convert it from bytes.

ex:
I use : Select ColumnA from TableA
Column ColumnA have DataType is float
The values in DataBase is
1
2
3
4
5
6
But the bytes I captured is (All bytes is decimal type not Hex)
0 0 0 0 0 0 240 63
0 0 0 0 0 0 0 64
0 0 0 0 0 0 8 64
0 0 0 0 0 0 16 64
0 0 0 0 0 0 20 64
0 0 0 0 0 0 24 64
0 0 0 0 0 0 28 64

It is the same to these DataType is number like money, real, ...
Plz help me how to convert these!

Regard,
Tran Bach Thanh!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20090728/30ff758a/attachment.htm 


More information about the Winpcap-users mailing list