I am working on an app which must join multiple source-specific multicasts, SSM, and all the multicasts use the same group address and port. Only the source address changes. I have tested and this works fine if the group and port are different for each multicast. I have a function:
As I said, only the "Source" changes for each instance, and the second instance fails with {error,eaddrinuse} on the procket:open(Port...) call. I am missing some other option that needs set on the FD, or Socket.??
I am working on an app which must join multiple source-specific multicasts, SSM, and all the multicasts use the same group address and port. Only the source address changes. I have tested and this works fine if the group and port are different for each multicast. I have a function:
Where the returned FD is then used in a gen_udp:open() like:
As I said, only the "Source" changes for each instance, and the second instance fails with {error,eaddrinuse} on the procket:open(Port...) call. I am missing some other option that needs set on the FD, or Socket.??
Thanks, Mark.