[Spread-users] Trouble compiling spread version 3.17.1 in VS.NET 2003

David Lifson dml48 at cornell.edu
Wed Nov 19 09:57:02 EST 2003


Ryan,

The reason I am interested in obtaining the IP addresses is that I am 
attempting to implement my own messaging protocol (namely, pbcast aka 
Bimodal Multicast).  I would like to use Spread to tell me who to send 
the messages to, but how I send the messages will be determined by my 
protocol. Therefore, having the name of the user isnt helpful unless (as 
I said before) the name of the user IS their IP address.

Here is specifically what I am trying to do. The pbcast protocol 
requires me (at some point in the protocol) to unreliably send a given 
message m to every group member with probability p, where p is the 
probability a member is chosen to receive the message. Another part of 
the protocol requires me to randomly choose one member of the group to 
gossip with. Do you know of anyway to do exactly these things?

Thanks,
David


RYAN CAUDY wrote:

>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,
>Ryan
>
>----- 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
>
>  
>
>>Hello,
>>
>>I am a Cornell student looking to use Spread for group membership 
>>in 
>>Java. I would like be able to get the IP addresses of the group 
>>members 
>>for the purpose of sending a message to a randomly selected subset 
>>of 
>>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 
>>MAX_PRIVATE_NAME 
>>is too small. Changing the MAX_PRIVATE_NAME value required 
>>recompiling 
>>the code. I have had no luck trying to compile the C code using 
>>the 
>>included .dsw file found in the win32 directory. When opening the 
>>.dsw 
>>file in VS.NET 2003, I am prompted to convert the .dsw to a .sln 
>>file 
>>(which is done automatically). Recompiling the .sln file creates 
>>linking 
>>errors with sock_strerror. After looking in the archives, my 
>>project 
>>partner and I found a suggestion to add 'extern char * 
>>sock_strerror(int 
>>errno)' to arch.h but this did not have any effect.
>>
>>Any help would be appreciated.
>>
>>Thanks,
>>
>>David Lifson
>>
>>
>>_______________________________________________
>>Spread-users mailing list
>>Spread-users at lists.spread.org
>>http://lists.spread.org/mailman/listinfo/spread-users
>>
>>    
>>
>
>
>  
>






More information about the Spread-users mailing list