Multicast question

"이희승 (Trustin Lee)" trustin at gmail.com
Thu Nov 11 04:33:51 EST 2010


Hi Arsene

You need to downcast Channel to DatagramChannel then you will see the
methods related with multicasting.

HTH

arsene lin wrote:
> Does any example or doc tell how to use multicast with netty? 
> 
> I check the documentation, but seems there is no such example explained. But
> I discover in the netty source code (version 3.2.2 final) containing
> classes, including OioDatagramChannel, which uses MulticastSocket, and
> NioDatagramSockeT. However, I do not see method e.g. send that can be used
> for sending multicast message. 
> 
> 
> For instance, 
> MulticastSocket socket = new MulticastSocket();
> ... 
> socket.send(packet);
> 
> How can I achieve multicast in nio and oio with netty? 
> 
> I appreciate any suggestion.
> 
> 

-- 
Trustin Lee - http://gleamynode.net/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 290 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20101111/38e23908/attachment.bin 


More information about the netty-users mailing list