创建5个 Hello消息包:
Ptr<Packet> pkt1 = Create<Packet> (reinterpret_cast<const uint8_t*> ("hello"), 5);
Packet:
http://www.nsnam.org/docs/release/3.12/doxygen/classns3_1_1_packet.html
Packet (uint8_t const *buffer, uint32_t size)
reinterpret_cast是C++里的强制类型转换符。