Compute broadcast address and wrap broadcast message in try-catch to avoid crashes.