Re: [ns] How to send, reliably, a real payload on MANET and prevent ns2 from dropping application 's packets ?!!!!!!!

2010-01-17 Thread adel belkhiri
Hi, thanks a lot for your answer. In fact, what I want to say is that the problem isn't related to the packet structure (which obviously may contain data payload) but, rather than, it is related to the transport protocols such as TCP. TCP and all its variants don't give the permission to

Re: [ns] How to send, reliably, a real payload on MANET and prevent ns2 from dropping application 's packets ?!!!!!!!

2010-01-16 Thread Sidney Doria
The abstraction of Packet have a (unused) pointer to a possible payload (APPDATA). You may allocate memory and put the real data structure there. I suggest you use a header variable in the packet (you must create a new packet type for this) to bring the pointer to the real data payload), or

[ns] How to send, reliably, a real payload on MANET and prevent ns2 from dropping application 's packets ?!!!!!!!

2010-01-14 Thread adel belkhiri
Hi dear ns-users, As I know, the NS-2 Transport API to Application layer does not provide a payload transfer. In NS, Transport only tells to the application: hey, there is a packet with nbytes that has arrived. But no data is transfered to the app. I want to simulate an