These patches add the ability to get the destination IP address of received packets. This is useful when a UDP socket has joined multiple multicast groups. By examining the destination IP address, an application can determine which multicast group this packet was sent to.
This patch has been tested on Linux and Windows. I think it will work on other Unixes, but I have not tested that yet.
These patches add additional tests to test this functionality. Since I noticed that the tests did not test the multicast functionality at all, I have also added tests to cover that.
These patches also include the fixes for these bug reports:
1848365 - The -mcastloop boolean option
1838467 - Crash during Tcl exit with multicast groups open
1838459 - Crash with -mcastadd with a shared object
1828920 - Crash with udp_peek
Patch to udp_tcl.c and udp_tcl.h
Logged In: YES
user_id=114531
Originator: YES
File Added: udp_tcl_dstip_tests.diff
Patch to the tests
Patch to docs
Logged In: YES
user_id=114531
Originator: YES
File Added: udp_tcl_dstip_doc.diff