[Spread-users] BUFFER_TOO_SHORT && endian_mismatch >= 0

Jonathan Stanton jonathan at cnds.jhu.edu
Wed Jul 3 15:16:29 EDT 2002

endian_mismatch can in general be negative, 0 or 1. The negative cases
only occur when the BUFFER_TOO_SHORT error also occurs. Otherwise
endian_mismatch should be 0 or 1. It will be 0 for membership messages
and when the endianness of the sender is the same as that of the
receiver. It will be 1 when the sending machine (where the client runs)
has a different endianness from the receiving machine (where the
receiving client runs).

So I'm not sure if that answers the question. If you are saying that
endian_mismatch is 0 when you also got a BUFFER_TOO_SHORT error then
that shouldn't occur I think. You can get a GROUPS_TOO_SHORT with an
endian_mismatch of 0 though. That just means that the groups buffer is
too short but the main message body buffer is big enough.

Does this help?


Jonathan R. Stanton         jonathan at cs.jhu.edu
Dept. of Computer Science   
Johns Hopkins University    

More information about the Spread-users mailing list