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

linkd id in unicast



Hi,

I have the following problem:

i have a unicast simulation but need to be able to identify incoming links.
I've read previous mails about using the iFaceGetNode function, that can be
used in a multicast situation (since only then the links will have an
interface added).

In my view, I can do 2 things to enable myself to identify the link in a
unicast situation:

1- extend the 'unicast' links with an interface object (not preferable,
would like to be as much consistent with ns as possible)
2- use multicast instead of unicast, 
i.e. do : set ns [new Simulator -multicast on] and nothing else related to
multicast...(e.g. no 'set mrthandle', no 'join-group' etc,)

- which option would you recommend?
- if I use option 2, would there be a difference in simulation compared to a
unicast routing strategy?

Regards, Sjoerd Janssen