Skip to content

Preferred mechanism to select node ids for session? #26

Answered by bebopagogo
twhittock asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @twhittock - Sorry for the slow response here; my work schedule has been a bit consuming.

What NormNodeId assignment are you seeing when you call NormCreateSession() with NORM_NODE_ANY and then call NormGetLocalNodeId() to see what was assigned? Passing in the NORM_NODE_ANY (NORM_NODE_NONE) value should cause the NORM code to get a local IP address and use that as the NormNodeId as a form of automatically picking a unique node id. However, there cases where this doesn't work correctly (e.g., some VM environments or testing multiple processes on the same machine). In that case, I usually manually assign node ids for testing purposes. In some of our deployed systems that use NORM, they h…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@twhittock
Comment options

@bebopagogo
Comment options

Answer selected by twhittock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants