[EMAIL PROTECTED] schrieb:
> I am just putting this question out there to see if it is possible to
> implement.  Right now I only have access to one laptop.  I am running
> ns-2.27 with pclinuxos.  So far I was able to 'make nse' and did not
> return any error messages however I still can't run the pingdemo.tcl.
> But the question is this:
>
> I want the emulator to be able to read a tracefile (a large one
> perhaps that of a half an hour show) in real time and at the same time
> output the packets perhaps to a reciever tracefile that is constantly
> updated as packets arrive.  Next the tracefile is read by a real time
> player such as VLC (I think it has real time capabilities) and outputs
> the video  So I can readily view the real-time video as it is being
> emulated.  I have to all this in one machine or the laptop.
>
> Is it possible or has anyone done anything like this before that can
> offer me some direction?  Thank you.
>   

I assume that you actually mean a packet dump / capture file (e.g. pcap 
format) when you say tracefile.
The ns-2 tracefiles does not contain any application data and therefore 
is not suitable to be used as input for any application like VLC.

What you need is a setup where you have nse and two virtual machines - 
one that replays the packet dump and the second that runs VLC. To replay 
a PCAP file you need to implement a tool similar to tcpreplay or 
simple-replay. To get a "receiver tracefile" as you name it, you can 
capture the packets on the second virtual machine using tcpdump. But 
this will not be necessary as you can feed them directly into VLC.

Hope, this helps.
Daniel.



Reply via email to