Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

NIO: Multicast  RSS feed

 
Anders Olsen
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to use UDP Multicast and java.nio? I hava found a java.nio.channels.DatagramChannel which corresponds to the java.net.DatagramSocket class, but I can't find any channel that matches the java.net.MulticastSocket?
Can I use the DatagramChannel to receive broadcasts? How do I join and leave groups then?
Regards
Anders
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!