[Spread-users] SP_receive documentation incorrect?

Xudong Yan xudong at neoteris.com
Thu Jul 17 12:07:15 EDT 2003


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








More information about the Spread-users mailing list