[ns] WRITING AND READING DATA TO AND FROM PACKETS

2010-12-15 Thread Akbar Hosseinkhani
Dear all, I want to write data in packets, and check(read) the data on the way to the destination. could any one give me an Idea. any response would be appreciated. AK.

[ns] WRITING AND READING DATA TO AND FROM PACKETS

2010-12-15 Thread Sidney Doria
HI, you may use pointers in the payload as a metaphor for your data. The real data is there, so the sender and the receiver can manipulate it. You might use typed data as objects or bag of bits, using chars. Anyway, the point here is the *size* of the data payload, which you must inform