Go Back   The UNIX and Linux Forums > Top Forums > Programming
Search Forums:



Programming Post questions about C, C++, Java, SQL, and other programming languages here.

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-04-2012
Registered User
 

Join Date: Feb 2012
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Ascii vs Pcap tracing

Dear All,

Which is better to use ? Ascii or Pcap tracing ? Or are they complementary ?
Sponsored Links
    #2  
Old 02-05-2012
Moderator
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 12,127
Thanks: 230
Thanked 1,686 Times in 1,618 Posts
If you're asking whether it's better to save network dumps in ASCII format or a binary format, which is "better" -- as always -- depends entirely on what you want to do with it.

You can't grep a binary file, but text files take more space, and might not be able to be loaded back into wireshark or what have you.
Sponsored Links
Reply

Tags
ascii, c++, ns2, ns3, pcap

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
convert ascii values into ascii characters sandeeppvk Shell Programming and Scripting 10 04-23-2009 11:23 PM
Pcap.h Sniffing papabearcares Shell Programming and Scripting 0 04-17-2008 12:22 AM
Pcap.h Sniffing papabearcares Programming 0 04-17-2008 12:21 AM
pcap.h Pervez Sajjad Programming 8 07-05-2006 03:09 AM
Compiling Pcap.c TioTony Programming 6 01-22-2002 10:15 AM



All times are GMT -4. The time now is 12:18 AM.