Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problem with multicast session and port.

Reply
Thread Tools Display Modes

Problem with multicast session and port.

 
 
gNash
Guest
Posts: n/a

 
      08-08-2008, 08:00 PM
Hi all..

i wrote program which receive multicast data from server.
for single instance it was worked fine..
but i had problem for this scenario with two instance:

1. server (multicast group) 224.0.0.2 port 1010
2. Server (multicast group) 224.0.0.4 port 1010

server was transmitting different files but when i open my
received content both are same. When i used different port it was
worked fine ie. it was received the different content well.

I tried with REUSEPORT, REUSEADDR it is behaving same..
Could any one help me how to resolve this problem in order to receive
the two files even the port is same.

regards,
Ganesh
 
Reply With Quote
 
 
 
 
Klaus Stysch
Guest
Posts: n/a

 
      08-09-2008, 08:11 PM
gNash wrote:
> Hi all..
>
> i wrote program which receive multicast data from server.
> for single instance it was worked fine..
> but i had problem for this scenario with two instance:
>
> 1. server (multicast group) 224.0.0.2 port 1010
> 2. Server (multicast group) 224.0.0.4 port 1010
>
> server was transmitting different files but when i open my
> received content both are same. When i used different port it was
> worked fine ie. it was received the different content well.
>
> I tried with REUSEPORT, REUSEADDR it is behaving same..
> Could any one help me how to resolve this problem in order to receive
> the two files even the port is same.
>
> regards,
> Ganesh


hi,

I had the same problem. Only solution (for me) was using different ports
in a local lan connected to a multicast-capable switch (iirc the switch
is able to handle 1024 concurrent multicast channels).
So try using different ports instead of different multicast ip's. Retry
sending both files on ip 224.0.0.2 but listening on different ports
(lets say 1010 and 1011) and check the output if the clients.

hth,
klaus
 
Reply With Quote
 
gNash
Guest
Posts: n/a

 
      08-10-2008, 08:27 AM
On Aug 10, 1:11*am, Klaus Stysch <sonsti...@stysch.net> wrote:
> gNash wrote:
> > Hi all..

>
> > * * * * * i wrote program which receive multicast data from server.
> > for single instance it was worked fine..
> > * * * * * but i had problem for this scenario *with two instance:

>
> > * * * * * *1. * *server (multicast group) *224.0.0.2 * * * port 1010
> > * * * * * *2. * *Server (multicast group) 224.0.0.4 ** * port 1010

>
> > * * * * * server was transmitting different files but when i open my
> > received content both are same. *When i used different port it was
> > worked fine ie. it was received the different content well.

>
> > * * * * * *I tried with REUSEPORT, REUSEADDR it is behavingsame..
> > Could any one help me how to resolve this problem in order to receive
> > the two files even the port is same.

>
> > regards,
> > Ganesh

>
> hi,
>
> I had the same problem. Only solution (for me) was using different ports
> in a local lan connected to a multicast-capable switch (iirc the switch
> is able to handle 1024 concurrent multicast channels).
> So try using different ports instead of different multicast ip's. Retry
> sending both files on ip 224.0.0.2 but listening on different ports
> (lets say 1010 and 1011) and check the output if the clients.
>
> hth,
> * * klaus


Hi, thanks for your suggestion...

but i do not think this very best solution.. because if
you take VLC player by network receiver option from multicast group it
is working fine even it is receiving from same port but different
address.


thanks,
Ganesh



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Session problem mabobine Windows Networking 1 10-22-2007 04:36 PM
Multicast receive problem. Will Wagner Linux Networking 0 09-08-2007 04:40 PM
Can Microsoft's RRAS be configured for multicast? Such as in cases where you want to make it a multicast rendevous point? Spin Windows Networking 0 10-26-2006 01:06 PM
nfs problem with php session directory jmdaviault@infogt2000.com Linux Networking 0 10-10-2006 07:53 PM
UDP session tracking problem xuma100@mixmail.com Linux Networking 2 06-12-2005 02:54 AM



1 2 3 4 5 6 7 8 9 10 11