generate a unique ID
151 views (last 30 days)
I have a function to generate packets (randomly) , and I want to affect to every generated packet a unique ID (an integer for example).
How can I do this in the simplest way ? Because I don't want to complicate more my simulator.
Thanks in advance.