[Spread-users] Sending to self via private group

Luke secureboot at gmail.com
Mon Aug 1 23:53:14 EDT 2005


On Mon, 2005-08-01 at 15:54 -0400, John Schultz wrote:
> The functionality you are seeking exists and works in Spread.  I'm not 
> sure what is wrong with your program, but I just wrote a simple test to 
> verify that it still works and it does.  Maybe this sample can help you 
> spot what is wrong.  Check and be sure how you are testing the file 
> descriptor for activity is correct.  Some people have reported that 
> SP_poll is not as good as it could be.

I think I've misrepresented my problem a bit.

Currently, I have one process (process A) running that needs to send a
message to a private address, which may or may not be answered by the
same process on the same machine.  Currently, as long as the recipient
is on another machine or part of a different process, it works fine.
However, if the private address belongs to the same process on the same
machine, the select call that waits on the spread mbox never activates
(the mbox file descriptor is never activated).

Creating a program similar to the one you attached works for me as well,
with spread 3.17.3.  The only issue I have is with the file descriptor
not triggering.

Can spread do this?  Is there a workaround?  I've compared the address
to what spread returns from SP_connect's 5th arg, and they're identical.
And, like I've said, the issue doesn't persist across processes or
machines.

Any help on this is much appreciated - other than this issue which has
halted development, spread's been exceptionally easy to work with so
far.


-- 
Luke
secureboot at gmail.com





More information about the Spread-users mailing list