I'm using Mattsson's DCCP module under ns-2.26. But when I simulate DCCP in large BDP networks, I sometimes get the following error and the program exits:
DCCPAckVector::sendAckVector - Failed to add ack vector to option: err -1, size 256 I took a look at the source code and found that the error stems from the length of the options exceeding DCCP_OPT_MAX_LENGTH(=255 by default). So I set the macro to be 1023, hoping that would solve the problem. But when I run the simulation again after modifying the macro, I get some other errors: 21.610164, DCCP/TCPlike(_o216)::send_packetRecv() - No ack vector on acknowledgment! 21.610184, DCCP/TCPlike(_o216)::processOption() - ECN check failed! The only change I made to the source code is just setting the value of the macro bigger. I don't know what's wrong. Can anyone help me? _________________________________________________________________ 用 Live Search 搜尽天下资讯! http://www.live.com/?searchOnly=true