[ns] Sending a packet - howto/where

2008-08-22 Thread fhg07
Well, I have already learned how to create the packet and fill it with the data I need. Although, I end up not being able to send it. In some codes, in the function command, the argumente is compared with send, and then the code responsible for sending the packet comes down there. I tried to do

Re: [ns] Sending a packet - howto/where

2008-08-22 Thread Mayur
Dear Fernando, recv() is used for sending too. Actually, it is pertaining to the Layered architecture. A lower layer RECEIVEs packet from its upper layer. Check carefully the code of recv() function and you will observe that it is first of all checking the 'direction' of the packet, if it is