> Could anyone tell me: > What is the maximum number of TCP connections (ftp source) it is possible to > generate per node? and > How detect the end of TCP connection or when the ftp source finishes its > data transfer ? If you are using old ns (perhaps before 2.1b5) then it's 128 but you can use $ns expand-address-format to extend it. Now it's 2^32.