[ns] how to send 802.16 undetermined size Control messages in ns2

2006-09-19 Thread Ramzi Tka
Hi evry body, I'am writing 802.16 mesh extensions for ns-2. My problem is that I can't find the right way to send a control message (DSCH-MSH message). In fact, this type of message have a variable length, since they are composed of a sequence of data structures whose total number varies in functi

[ns] how to send 802.16 undetermined size Control messages in ns2

2006-09-19 Thread Ramzi Tka
Hi evry body, I'am writing 802.16 mesh extensions for ns-2. My problem is that I can't find the right way to send a control message (DSCH-MSH message). In fact, this type of message have a variable length, since they are composed of a sequence of data structures whose total number varies in functi

[ns] how to send 802.16 undetermined size Control messages in ns2

2006-09-19 Thread Ramzi Tka
Hi evry body, I'am writing 802.16 mesh extensions for ns-2. My problem is that I can't find the right way to send a control message (DSCH-MSH message). In fact, this type of message have a variable length, since they are composed of a sequence of data structures whose total number varies in functi

Re: [ns] how to send 802.16 undetermined size Control messages in ns2

2006-09-19 Thread Francisco J. Ros
Hi, Just set ch->size() to the simulated length of the message. No matter the real size of your structure, for the simulation only ch->size() is taken into account. Regards, fran On Tuesday 19 September 2006 12:31, Ramzi Tka wrote: > Hi evry body, > I'am writing 802.16 mesh extensions for ns-