Skip to main content

Problem sending Advertisment

1 reply [Last post]
cono82
Offline
Joined: 2007-02-24

I have a problem when I send an advertisement!!

This is my scenario:
I have 3 peers, that join the same peerGroup. Now, oneother peer, (that join always the same peerGroup) try to send an advertisement to the entire group by the remotePublish on the DiscoveryService of the specific group. Every peer is a Rendezvous for the NetPeerGroup and for the Goup that it join.

Now, I have 2 different behaviour:

1) If the 3 peers join just 1 peerGroup, everyone receive the advertisement sended by the 4th peer, and this is right for me.

2) If the 3 peers join more than a peerGroup (I try with 2 peerGroups), only the peer that has create the peerGroups receive the advertisement, while the other 2 peers don't receive nothing. I clarify that I use the discovery service of the specific group when I try to receive the advertisement!!

Now, I have a question, it's possibile that when a peer join more than a peerGroup it's impossibile for it receive an advertisement propagated on all the Group??

Thanks in advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tra
Offline
Joined: 2003-06-16

> I have a problem when I send an advertisement!!
>
> This is my scenario:
> I have 3 peers, that join the same peerGroup. Now,
> oneother peer, (that join always the same peerGroup)
> try to send an advertisement to the entire group by
> the remotePublish on the DiscoveryService of the
> specific group. Every peer is a Rendezvous for the
> NetPeerGroup and for the Goup that it join.
>
> Now, I have 2 different behaviour:
>
> 1) If the 3 peers join just 1 peerGroup,
> everyone receive the advertisement sended by the 4th
> peer, and this is right for me.
>
> 2) If the 3 peers join more than a peerGroup (I
> try with 2 peerGroups), only the peer that has
> create the peerGroups receive the advertisement,
> while the other 2 peers don't receive nothing. I
> clarify that I use the discovery service of the
> specific group when I try to receive the
> advertisement!!
>
> Now, I have a question, it's possibile that when a
> peer join more than a peerGroup it's impossibile for
> it receive an advertisement propagated on all the
> Group??
You need to have at least one of your peers act as a rendezvous
for each peergoup. You should use the auto rendezvous option to
dynamically elect a rendezvous.

B.

>
> Thanks in advance.