[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

need help for implementing desynchronization during packet transmission



Hi, there,

I have a question here,
How to simulation the desynchronization in NS when I sent packets to
multiple channels?

for example, I have four packets want cyclically sent to two channels,
1. the normal packets organization is,
               time: 1   2   3   4   5   6   7   8   9
channel 1:           C   D   A   B   C   D   A   B   C
channel 0:           A   B   C   D   A   B   C   D   A

2. the packets organization with desynchronization is,
               time: 1   2   3   4   5   6   7   8   9
channel 1:               C   D   A   B   C   D   A   B
channel 0:           A   B   C   D   A   B   C   D   A

You will find that if some receiver listen both channels, without
desynchronization, he can
get the 4 different packets in 2 intervals(there is no redundance packets),
but with the
desynchronization, during every 2 intervals, there is one redundance
packets, so it take at
least 3 intervals to get the 4 different packets.

What I am concern is if there is a way to get this desynchronization in
S( in the TCL part).
I appreciate any suggestion and help.

Sincerely,
Yimin