From: li_ndows <li_...@12...> - 2012-02-22 06:53:18
|
So what 's the packet's structure?because it contains too much information,and I'm not very clear about it. thank you At 2012-02-21 14:02:18,"Michał Borychowski" <mic...@ge...> wrote: Hi! hdrbuff is an auxiliary space for header of an incoming packet. The first 8 bytes are read into this place - system gets length of the whole packet from the header. System allocates then new amount of memory and reads into it the remaing part of the packet. Packet in packetstruct structure is an indicator to memory of packet data. Kind regards Michał Borychowski MooseFS Support Manager _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Gemius S.A. ul. Wołoska 7, 02-672 Warszawa Budynek MARS, klatka D Tel.: +4822 874-41-00 Fax : +4822 874-41-01 From: li_ndows [mailto:li_...@12...] Sent: Tuesday, February 21, 2012 3:24 AM To:moo...@li... Subject: [Moosefs-users] ask Hello, I want to ask some questions about the struct matocsserventry? 1,what does the array hdrbuff[8] mean? 2,what does the struct packetstruct->packet contain? THX |