[ns] re:a weird question under ns-2
wei
chenw at uoguelph.ca
Thu May 27 21:26:15 PDT 2004
hi, there:
I found a weird question under ns-2.
When I use the ping-agent sample under ns-2, although it can't be
compiled through,becasue it show up the error message:
/*******************************************************/
common/ping.cc: In member function `virtual void
PingAgent::recv(Packet*,
Handler*)':
common/ping.cc:95: no match for `ns_addr_t& >> int&' operator
make: *** [common/ping.o] Error 1
/********************************************************/
while, when I execute ping.tcl under ns2, it is still successful. Does
that mean the function recv() in ping.tcl don't invoke function recv()
in ping.cc? or else, it does invoke the ping.o under apps/ping.o not
common/ping.o? anyone who compile the sample through please give me a
reply, I will appreciate that.
thanks.
davie
More information about the Ns-users
mailing list