I would like to know how to get the identifier of the node where the package is being processed.
I tried the name (), but it does not give the node identifier, like the one shown in the trace file, which shows the source and destination of the package. In the trace file from the format (), the source and the recipient are available, but how to access them, which can also help to know at what stage the node is currently processing.
This is about NS2. Can anyone help.
source
share