Hi,
I did some research on the codes today, and I found that, "m_socket->Send(p)" returns -1 because in udp-socket-impl.cc, line 596, route==0 and NS_LOG_LOGIC outputs "No route to destination", function UdpSocketImpl::DoSendTo (...) returns -1. So, I think the reason may be routing or icmp, but I can't be sure about it.
I can't spend too much time on it, so I may switch to NS-3.17 to have a try.
And thank you very much for your help, if you come up with some solution in some day, please tell me. Thanks again.
在 2014年6月4日星期三UTC+8上午3时45分17秒,Tommaso Pecorella写道: