Hi Anupama, Yes thats a way to send a packet. The last argument is the delay you want defore shedule sends your packet, so if you want to send a packet rightaway you need to specify 0.0 in last argument. Regards, Tiago Camilo
Quoting A Anupama <[EMAIL PROTECTED]>: > > Hi, > I am doing some modifications to AODV protocol. In the sendRequest > method, there is a line: > > Scheduler::instance().schedule(target_, p, 0.); > > where p is the request packet created. I think, this line is to send the > packet. But, I am not sure... Can any one tell me how actually a packet is > sent ? > If I have my own packet, say some neighbor solicitation, how can I send the > packet ? Is there any direct method to send a packet ? > > Thanks in advance. > > Regards > Anupama > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.