Mailing list archive (omnetpp-l at omnetpp.org)


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

[omnetpp] Question How to identify the number of the host...which command to use in the code?



Hello to all i have a simple question:

I have a couple of nodes in Inet and each node is a different mobile host. How do i identify using a command (code) which number refers to the host. For example in C:\INET-20061020\Examples\Adhoc\Ieee80211 where i have different mobile hosts which command should i use to identify the number of the respective host...I think module->id() or similar is not what i want since the nodes are equal in the modules they use, but in fact are different instances/identities and have different numbers(i.e. mobile host number=1, mobile host number=2, mobile host number=3,....)

Help apreciated Thank you

Greetings
Henrique
_______________________________________________
OMNeT++ Mailing List
options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
archive: http://www.omnetpp.org/listarchive/index.php

Home | Main Index | Thread Index