[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

differences between ns notes and ns source codes



Hi all,

	i have noticed slight differences between source code in ns (files in .h 
and .cc) and source code presented in the notes & doc. 
	For example, in the notes you can find at page 85 the following excerpt:
	
	class Mac : public connector {
	public:
		Mac();
		virtual void recv(Packet* p, Handler* h);
		virtual void send(Packet* p);
		virtual void resume(Packet* p = 0);
		...
		
	if you look at the corresponding part of mac.h you will see:
	
	class Mac : public connector {
	public:
		Mac();
		virtual void recv(Packet* p, Handler* h);
		virtual void sendUp(Packet* p); 
		virtual void sendDown(Packet* p);

		virtual void resume(Packet* p = 0);
		...

	now, i am using ns-2.1b5, ns notes from april 1 1999. Is one older than 
the other? Are the differences really significant? Any help will be greatly 
appreciated.
	

Tarik