[ns] TCP Receiver advertised window

2013-03-27 Thread Hà Nguyễn Thị
Dear all, Is there anybody can tell me how to get receiver advertised window? I tried to find codes in library, but i just found other fields in TCP header such as: sequence number,... Thanks for your helps! -- Best Regard! ^_^ Nguyễn Thị Hà Communication Network Sercurity Room 11012,

[ns] To set packet loss-rate over the link

2013-03-27 Thread Vaibhav Ambhire
How to set message/packet loss rate over the link in ns2? I want to make the connection reliable between two nodes for most of the time. But it should be made unreliable for short period of time to test the performance of protocol.. Or other way.. to increase or decrease the congestion over the

[ns] code for blackhole or wormhole attack in ns2

2013-03-27 Thread manish kumar
Hi all please send me the blackhole or wormhole ttack implementation code Thank you Manish

[ns] Computing RxThreshold for long distances

2013-03-27 Thread wben-jab
Dear All, I want to ask about the receving RxThreshold. I compute it for two distances, one with 300m and the other with 1000m, using TwoRayGround propagation model. I have for 300m , the following output: distance = 300 propagation model: TwoRayGround Selected parameters: transmit power:

[ns] Average number of idle slots

2013-03-27 Thread nishil dahin
Hello all, How do you find the average number of idle slots of a node? Thanks in advance, Nihad S.