Skip to content

DynNetwork: Find a way to identify the current application #30

@monsdar

Description

@monsdar

The current code just takes a random number between 0 and 9999 to set an identifier. This model breaks in 1 of 10000 cases as there could be the same identifier twice. We need to find a way to generate a unique identifier. The following must be the case:

  • There could be multiple processes of the same executable on the same host
  • There could be multiple processes of the same executable on different hosts (spread in the network)

Perhaps the best bet would be to take some kind of hash from the process id and network address.

See TODO at NetworkCxxProf.cpp (currently line 64)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions