Bugzilla – Attachment #1858: Fix for bug 1858, call socket->Recv for bug #1858
- Bug 1943 - Waveform generator signal duration calc error
- Bug 1951 - AODV does not update nexthop for 1-hop nodes
- Bug 1955 - The IPv4 identification field should be unique per (source, destination, protocol) tuple
- Bug 1858 - wireless examples not correctly recording packet reception
Known issues
------------
void ReceivePacket (Ptr<Socket> socket)
{
NS_LOG_UNCOND ("Received one packet!");
while (socket->Recv ())
}
static void GenerateTraffic (Ptr<Socket> socket, uint32_t pktSize,
static inline std::string PrintReceivedPacket (Ptr<Socket> socket)
Address addr;
socket->GetSockName (addr);
InetSocketAddress iaddr = InetSocketAddress::ConvertFrom (addr);
std::ostringstream oss;
oss << "Received one packet! Socket: " << iaddr.GetIpv4 () << " port: " << iaddr.GetPort ();
return oss.str ();