Add support for UDP Multicast #216

Closed
normanmaurer opened this Issue Mar 4, 2012 · 9 comments

Projects

None yet

2 participants

@carrot-garden

thank you for considering this

@normanmaurer normanmaurer was assigned Apr 2, 2012
@normanmaurer normanmaurer added a commit that referenced this issue Apr 2, 2012
@normanmaurer normanmaurer Add support for UDP multicast in NIO. See #216
Add some javadocs. See #216

Use the correct key to lookup MembershipKey. See #216
72f9f50
@normanmaurer normanmaurer added a commit that referenced this issue Apr 2, 2012
@normanmaurer normanmaurer Finish support of NIO UDP multicast. This also change the methods to
return a ChannelFuture. See #216
9b90e31
@normanmaurer normanmaurer reopened this Apr 2, 2012
@normanmaurer
Member

Now complete!

@carrot-garden

wow! I can't believe this :-)

where can I take a look? do you have an example? link please?

thanks!

@normanmaurer
Member

Checkout the unit test for it:

https://github.com/netty/netty/blob/master/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/nio/NioNioDatagramMulticastTest.java

BTW, its only in master branch which is still a fast moving target and needs java7.

@carrot-garden

got it; will do and confirm; thank you.

@carrot-garden

Norman:

I would like to start using netty 4 (thanks to your support for java 7 multicast);

can you please share:

  1. how usable is current netty 4 alpha snapshot is?
  2. do you know of people using netty 4 alpha snapshot in production-like environments?

thanks;

Andrei

@normanmaurer
Member

Hi Andrei,

the problem with netty 4.0.0 is that we will break a lot of the API. We are currently in the progress to redesign the API (see the next-api branch). So I think I would not use it atm.

I'm currently wonder if we should include the multicast UDP support for NIO in 3.5.0.

@carrot-garden

UDP support for NIO is primary motivation for me to go for netty 4;

please let me know if this is feasible in netty 3.5

@normanmaurer normanmaurer reopened this May 10, 2012
@normanmaurer
Member

@carrot-garden could you try to use the 3.5.0-SNAPSHOT which has now support for NIO UDP Multicast:

https://oss.sonatype.org/content/repositories/snapshots/io/netty/netty/3.5.0.Final-SNAPSHOT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment