Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

Multicasting

Thread view: 
Jan Meskens - 13 Apr 2006 19:44 GMT
Hello everyone,

I am currently implementing a Java application and need to use
multicasting. How do I set up multicasting in Java ? Do I need to
configure something in my router to enable it? Or when I start a multicast
socket, the multicast group is created automaticly ?

All the documentation I can find handles Java multicasting with an already
existing multicasting group, I didn't found somthing how to create my own
multicasting group.

Is it also possible to set up 'reliable multicasting' in Java?

Best regards,

Jan Meskens
EJP - 14 Apr 2006 05:52 GMT
> Hello everyone,
>
[quoted text clipped - 6 lines]
> existing multicasting group, I didn't found somthing how to create my own
> multicasting group.

You create a multicast group merely by being the first to join it.

Multicasting will only work as far as the first router encountered which
doesn't want to play. ISPs typically do not support it (it is contrary
to their economic interests for one thing).
Steve W. Jackson - 17 Apr 2006 18:39 GMT
> > Hello everyone,
> >
[quoted text clipped - 12 lines]
> doesn't want to play. ISPs typically do not support it (it is contrary
> to their economic interests for one thing).

I'm not sure that ISPs really care so much about it one way or another.  
I'm pretty sure mine has no specific policy -- or none that I've found.  
And I do know that an implementation of UDP multicasting I did was
tested on a system at work where we have a hardware firewall and
successfully resulted in those UDP packets getting to another system at
home that was listening for them with the app I designed at the other
end for that purpose.

It would be a good idea for the OP to visit Sun's tutorial at
<http://java.sun.com/docs/books/tutorial/networking/index.html>.  It has
reasonably good information on both TCP and UDP networking and addresses
multicasting.

= Steve =
Signature

Steve W. Jackson
Montgomery, Alabama



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.