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

A question.



Hello,
I'm a newer of ns. When I try to follow your example "A new protocol for
ns",
recompile the file, it tells me :

clcl-1.0b8 -I../otcl-1.0a4 -I../tkbox/include -I../tclbox/include  -o
ping.o ping.cc
ping.cc: In method `void PingAgent::recv(Packet *, Handler *)':
ping.cc:93: request for member `addr_' in `hdrip->hdr_ip::src_', which
is of non-aggregate type `int'
make: *** [ping.o] Error 1

Could you tell me how to do with it?
I followed your step strictly. 
Thanks for your help.
Best regards and looking forward you.
Wang
-- 

PROJET RODEO                            Tel:33-4-92387990
INSTITUT NATIONAL DE RECHERCHE          Fax:33-4-92387765
EN INFORMATIQUE ET EN AUTOMATIQUE       Email:
INRIA Sophia Antipolis                  [email protected]
2004 route des Lucioles B.P. 93         Pager:
06902 Sophia Antipolis Cedex            http://www-sop.inria.fr/rodeo
France