km4arr / openpgm

Automatically exported from code.google.com/p/openpgm
0 stars 0 forks source link

Problem with two sockets. #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have a program with 2 threads. Each thread creates a PGM socket that joins a 
multicast group (e.g., thread 1 joins 239.191.99.98 and thread 2 joins 
239.191.99.99). Then each thread reads from its socket in a loop.

In my test each socket receives packets from both multicasts. That is, each 
packet is delivered twice: once to socket1 and once to socket2. 
Bug?

What version of the product are you using? On what operating system?

openpgm-5.1.118
Linux nyllmdlab05 2.6.18-164.11.1.el5 #1 SMP Wed Jan 6 13:26:04 EST 2010 x86_64 
x86_64 x86_64 GNU/Linux

Original issue reported on code.google.com by astov...@gmail.com on 23 May 2012 at 8:59

GoogleCodeExporter commented 9 years ago
Socket routing is on the port not the multicast group in Linux.  In Windows 
WinSock is user-space and performs additional checking and filtering to prevent 
this.

Original comment by fnjo...@gmail.com on 23 May 2012 at 11:26

GoogleCodeExporter commented 9 years ago
A platform "feature", closing.

Original comment by fnjo...@gmail.com on 7 Apr 2013 at 11:08