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

Re: port nos.



On Mon, 26 Jul 1999, Rajesh Khetan wrote:

> Hi,
> 
> I was going thru the tcp header in tcp.h & realized that there was no
> source & destination port in it.
> 
> Could someone tell why is so..??
It's because they're not needed.  In the ip header, the src and dst fields
contain both the node id of the src/dst, and the agent id within the node.
See the code in ns-lib.tcl, in proc "connect".

George