From: Mark H. <ma...@os...> - 2004-05-19 14:29:23
|
On Wed, 2004-05-19 at 04:04, Yin, Hu wrote: > Hi Jon, > > I'm a intern of Intel China Software Lab. Now I'm doing TIPC's > validation job here. > > Today I meet a problem. When I write a little program to send/receive > different sizes message between two programs there will be error( errno: > 22, "Invalid argument") when the size of message is more than 66000 > bytes. > > Doesn't TIPC fragment and defragment messages? tipc.h has #define TIPC_MAX_MSG_SIZE 66000 Messages are fragmented, but at a smaller size (the max_packet size in the bearer structure) up to a maximum message size. I believe that 66000 is the largest size of a single message handled by tipc. Mark. -- Mark Haverkamp <ma...@os...> |