Ethereal-dev: [Ethereal-dev] file_read vs fread?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Ravi Kondamuru" <ravikondamuru@xxxxxxxxx>
Date: Tue, 20 Jun 2006 00:38:13 -0700
Hi,

What is the difference in reading a file via file_read vs fread? I have written a dump routine to save trace data into a file. The hex dump of
the file looks like I expect it to be. The fread of the file with a stub program shows the same data. However, when same file is read by wireshark (using file_read), the buffer into which I read, shows different data.

Just wondering how I should debug this issue?

thanks,
Ravi.
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev