[Spread-users] Trouble compiling spread version 3.17.1 in VS.NET 2003
caudy at jhu.edu
Wed Nov 19 09:00:48 EST 2003
Why can't you simply use the private group names of the group members as identifiers to select which subset? You receive the list of group members in your group as a determinstically ordered list of their private group names in each regular membership message.
The one concern is that sending once to each member you've chosen at random is much less efficient in terms of messages than sending to the subset as a whole (if the subsets have size greater than 1, and if you have more than 1 daemon). So, you may need to do something interesting where you have a naming scheme for subsets, and represent each with a group such that each member joins the groups representing each possible subset it is in.
Hope this helps,
----- Original Message -----
From: Dave Lifson <dml48 at cornell.edu>
Date: Tuesday, November 18, 2003 10:38 pm
Subject: [Spread-users] Trouble compiling spread version 3.17.1 in VS.NET 2003
> I am a Cornell student looking to use Spread for group membership
> Java. I would like be able to get the IP addresses of the group
> for the purpose of sending a message to a randomly selected subset
> the group. Is this possible?
> I had thought to have the group members join using their IP
> address as
> their name and parsing out the name that way, however
> is too small. Changing the MAX_PRIVATE_NAME value required
> the code. I have had no luck trying to compile the C code using
> included .dsw file found in the win32 directory. When opening the
> file in VS.NET 2003, I am prompted to convert the .dsw to a .sln
> (which is done automatically). Recompiling the .sln file creates
> errors with sock_strerror. After looking in the archives, my
> partner and I found a suggestion to add 'extern char *
> errno)' to arch.h but this did not have any effect.
> Any help would be appreciated.
> David Lifson
> Spread-users mailing list
> Spread-users at lists.spread.org
More information about the Spread-users