LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 02-23-2009, 02:02 PM   #1
softwizz
LQ Newbie
 
Registered: May 2005
Location: Scotland
Distribution: all
Posts: 6
Blog Entries: 1

Rep: Reputation: 0
Question multicasting problem


I'm trying to create an app which instances itself and where each instance needs to register its existance with the others. I had assumed that multicast was the way, but I've had a lot of problems, particularly it seems i can't have two or more concurrent listeners on the same mcast-address and port number (the second bind fails). Is that a valid situation, or must I have done something wrong? And if it is valid that there may not exist multiple concurrent listeners on the same mcast-address/port, then how do my instances communicate?
 
Old 02-23-2009, 04:06 PM   #2
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,300
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by softwizz View Post
And if it is valid that there may not exist multiple concurrent listeners on the same mcast-address/port, then how do my instances communicate?
Are you using "setsockopt(SO_REUSEADDR)"?
 
Old 02-23-2009, 11:55 PM   #3
softwizz
LQ Newbie
 
Registered: May 2005
Location: Scotland
Distribution: all
Posts: 6
Blog Entries: 1

Original Poster
Rep: Reputation: 0
multicast problem

No, I'd not seen that one mentioned where I got my original steer from. I'll try it - ta!
 
  


Reply

Tags
multicast, programming


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about IP multicasting. lazareth1 Linux - Networking 1 05-30-2008 05:27 PM
multicasting protocols 98steve600 Linux - General 1 03-28-2005 03:38 AM
multicasting info stoney55 Linux - Networking 3 03-08-2005 11:29 AM
Multicasting Problem Rajesh_Amma Linux - Networking 0 11-22-2004 02:41 AM
guide for multicasting bhupee Linux - General 1 07-01-2004 07:15 PM


All times are GMT -5. The time now is 07:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration