Begin checkin of ns-3-gfr; s/UdpSocket/DatagramSocket; bring in Application base class and onoff-application, and base class socket; bring in random number generator files

This commit is contained in:
Tom Henderson committed 2007-03-18 14:30:26 -07:00
commit 080a57c8b5
17 files changed
+2111 -65

No files matched your search

+2 -2
View File
@@ -27,7 +27,7 @@
#include "udp-header.h"
#include "ipv4-end-point-demux.h"
#include "udp-end-point.h"
#include "udp-socket.h"
#include "datagram-socket.h"
#include "node.h"
#include "ipv4.h"
#include "l3-demux.h"
@@ -102,7 +102,7 @@ Udp::Receive(Packet& packet,
{
return;
}
UdpSocket *socket = endPoint->GetSocket ();
DatagramSocket *socket = endPoint->GetSocket ();
socket->ForwardUp (packet, source, udpHeader.GetSource ());
NS_ASSERT (socket != 0);
}