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

Re: port numbers?




On Thu, 2 Jul 1998, Jitendra Padhye wrote:

> Hi,
> 
> What is the limit on number of simulatenous sending/receiving agents that can be
> attached to a node?

The default is 2^8(256).  However, it can be changed by doing, for example

$ns set-address 7 24  (not sure this is the right syntax, please refer to 
tcl/lib/ns-address.tcl

This extends the number of ports to 2^24, but the number of nodes allowed 
is shrunk to 2^7.  You'll have to be extra careful if you're doing 
mcast simulation.

As for max number of TCP connections, the default will be 2^8.


> 
> e.g. consider the following simple configuration:
> 
> 	s1 <-----> r1
> 
> How many TCP sessions can co-exist between s1 and r1? 128? 256? 64000?
> 
> Am I correct in assuming that this number the same as the maximum "fan-in" or "fan-out" 
> allowed at a node? (i.e. how many nodes can I attach to s1 without running into trouble?)

Sorry, I don't quite sure what do you mean by 'fan-in' and 'fan-out'.

hope this helps.
-Polly

> 
> Thanks, 
> 
> - Jitendra
> 
>