[Q] About Trace file..
Fri, 24 Sep 1999 15:23:16 -0400
You might want to have a look at:
It has a link to the C 10-liner John posits.
To: "Lee Jiwoong" <firstname.lastname@example.org>
Subject: Re: [Q] About Trace file..
Date: Thu, 23 Sep 1999 18:50:55 -0700
From: John Heidemann <johnh@ISI.EDU>
On Mon, 20 Sep 1999 04:46:57 +0900, "Lee Jiwoong" wrote:
>Dear Seniors in NS.
>I THANK ALL OF YOU who answers my previous questions, HOW KIND! :^)
>In ~ns/tcl/ex, there is an example trace file. According to the manual of NS,
>"A trace file consists of any number of fixed length records. Each record
consists of 2 32 bit fields. The first indicates the interval until the next
packet is generated in microseconds. The second indicates the length of the
next packet in bytes."
>I wonder if there is a "converter" which converts the binary tracefile into
ascii file and the vice versa.
>Since I've Starwars tracefile which is encoded in another method, and I want
to apply it to NS.
>Thanks in Advance with my all heart.
Not currently, but that should be a perl 1-liner, or a C 10-liner.