Sent to the wrong mailing list... Deserves to be sent to users !
-------- Original Message --------
From: - Wed Dec 21 17:50:54 2011
X-Account-Key: account2
X-UIDL: GmailId13461884596f0572
X-Mozilla-Status: 0011
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Delivered-To: [email protected]
Received: by 10.180.84.130 with SMTP id z2cs64076wiy; Wed, 21 Dec 2011
08:50:49 -0800 (PST)
Received: by 10.224.217.133 with SMTP id
hm5mr9378878qab.49.1324486247783; Wed, 21 Dec 2011 08:50:47 -0800 (PST)
Return-Path: <[email protected]>
Received: from mail.apache.org (hermes.apache.org. [140.211.11.3]) by
mx.google.com with SMTP id k1si4291489qap.21.2011.12.21.08.50.47; Wed,
21 Dec 2011 08:50:47 -0800 (PST)
Received-SPF: pass (google.com: domain of
[email protected] designates
140.211.11.3 as permitted sender) client-ip=140.211.11.3;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of
[email protected] designates
140.211.11.3 as permitted sender)
[email protected]
Received: (qmail 50531 invoked by uid 500); 21 Dec 2011 16:50:46 -0000
Mailing-List: contact [email protected]; run by ezmlm
Precedence: bulk
List-Help: <mailto:[email protected]>
List-Unsubscribe: <mailto:[email protected]>
List-Post: <mailto:[email protected]>
List-Id: <dev.mina.apache.org>
Reply-To: [email protected]
Delivered-To: mailing list [email protected]
Received: (qmail 50523 invoked by uid 99); 21 Dec 2011 16:50:46 -0000
Received: from minotaur.apache.org (HELO minotaur.apache.org)
(140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2011
16:50:46 +0000
Received: from localhost (HELO emmanuel-lecharnys-MacBook-Pro.local)
(127.0.0.1) (smtp-auth username elecharny, mechanism plain) by
minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2011 16:50:46
+0000
Message-ID: <[email protected]>
Date: Wed, 21 Dec 2011 17:50:44 +0100
From: Emmanuel Lécharny <[email protected]>
Reply-To: [email protected]
Organization: The Apache Software Foundation
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0)
Gecko/20111105 Thunderbird/8.0
MIME-Version: 1.0
To: [email protected]
Subject: Re: funding for multicast support in mina 2.0
References:
<5d7d752f557a8e479aa3ca912d59db8d2c22a...@nhc0ex15.goodrich.root.local>
<[email protected]>
<CAPQGVf3FyZ_bKSgpQrob8GPpTTJchmR3hPZXUDNSL2+tmk8=y...@mail.gmail.com>
In-Reply-To:
<CAPQGVf3FyZ_bKSgpQrob8GPpTTJchmR3hPZXUDNSL2+tmk8=y...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
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