On 12/21/11 5:39 PM, Frédéric Menou wrote:
Hello,

If I use jdk7, is it hard to adapt Mina 2.0.x to let me use multicast?

It should be quite easy : you have to grab the DatagramChannel, and to do :

NetworkInterface interf = NetworkInterface.getByName(<your interface name>  );

datagramChannel.setOption( SocketOption.IP_MULTICAST_IF, interf );
The thing would be to integrate this properly in MINA...

--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to