[Spread-users] SP_receive documentation incorrect?
Ryan Caudy
caudy at jhu.edu
Thu Jul 17 15:35:55 EDT 2003
The input service_type to SP_receive should be 0 (all flags cleared), or
DROP_RECV (see short buffer handling documentation), depending on what
you desire.
--Ryan
Xudong Yan wrote:
> Hi,
>
> We are finding that as you call
>
> SP_receive(fd, &service_type, sender, num_groups, &num_groups, groups,
> &mess_type, &endian_mismatch, mess_len, mess),
>
> the second parameter, &service_type, is used as an input variable as
> well as an output variable.
>
>
> So if you call SP_receive() without initializing service_type,
> SP_receive could potentially drop the message.
>
> The man page for SP_receive does not mention that this variable need to
> be initialized to a specific value. Can someone confirm what exactly
> the variable should be set to (we now set it to 0)?
>
>
> Thanks
>
> Xudong
>
>
>
>
>
> _______________________________________________
> Spread-users mailing list
> Spread-users at lists.spread.org
> http://lists.spread.org/mailman/listinfo/spread-users
>
--
Ryan W. Caudy
Center for Networking and Distributed Systems
Department of Computer Science
Johns Hopkins University
More information about the Spread-users
mailing list