[ns] FullTcp Questions

Saurabh Barve barve at CS.ColoState.EDU
Thu May 6 15:22:08 PDT 2004


Hi,

I had asked these questions earlier, but didn't receive any reply.

I had three questions about FullTcp. 

1. I wanted to send data along with the SYN packets for a connection with 
FullTcp agents on both ends. I changed the option in the ns-default.tcl 
file to make it possible to send data along with the SYN packet. However, 
FullTcp assumes a default data segment of 536 bytes. And if the send data 
with SYN packet option is set, it sends 546 bytes of data along with the 
SYN packet. I don't want to send 536 bytes of data with the SYN; I only 
want to send 64 bytes of data. How and where do I set this so that I can 
send 64 bytes of data with the SYN and 536 bytes of data with data 
packets?

2. Is there a call like 'ns_disconnect' which will allow me to disconnect 
a TCP connection. I have three FullTcp agents A, B and C. The original 
connection is between A and B. After some time, I want to break this 
connection, and establish a fresh connection between A and C. Is there a 
way to do this?

3. Does ns have any support for encryption? Are there any third-party 
encryption modules which can be integrated into ns? If not, does anybody 
know what sort of delays I can introduce during my simulation to simulate 
encryption being done?

Thanks,
Saurabh.      
-- 
===============================================================================
Saurabh Barve
Graduate Student,
Department of Computer Science,
Colorado State University,
Fort Collins - CO

Phone: (970) 416-7512 (R)
       (970) 491-7714 (W)



More information about the Ns-users mailing list