Skip to content

NORM point-to-point between two processes on the same machine? #39

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

You must be logged in to vote

As @marygilliland points out, when running multiple NORM applications on the same machine for the same multicast address/port, you need to use NormSetRxPortReuse() so multiple sockets on the same machine can bind to the same port. Note this only works for IP multicast addresses due to the way networks stacks are implemented on some machines (the NormSocket API extension that is in progress does use connect() for UDP sockets when a connection-oriented paradigm makes sense and the tighter binding there does allow multiple unicast UDP connections in that case, but I digress)

The JNI API does have the NormSetRxPortReuse() call. However, while the C++ "norm/examples/normMsgr.cpp" does invoke t…

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
@stevek138
Comment options

@bebopagogo
Comment options

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