Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1804

UDP: sending of multicasts fails after an ifdown / ifup cycle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.5
    • None
    • None

      After an ifdown / if up cycle, sending / receiving of multicast messages over mcast_sock fails with an IOException (no such device). Sending / receiving unicast datagram packets works.

      SOLUTION:
      Catch the IOException on the send/receive and set the interface again (MulticastSocket.setInterface()). This was confirmed to work.
      Perhaps count the number of failures and only reset the interface when the count exceeds a threshold

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: