[ns] Sending a packet - howto/where
Mayur
mayur at ee.iitd.ac.in
Fri Aug 22 08:54:15 PDT 2008
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
'down' that it is a packet RECEIVED from its upper layer.
Hope it's clear!
More information about the Ns-users
mailing list