AgentJ Problem with wireless Simulations
Dear guys
Iam new to NS2 and Agentj ... I have successfully installed both NS2 and agentj ... After reading the tutorial of Agentj i found that all the examples are dealing with wired nodes but my research is dealing with wireless nodes so iam trying to convert the TCP example to deal with wireless nodes but i am not able to do so as there is a strange error ...First i modify the simpletcpclient.java to have the address of the wireless node instead of the default ip address (0)
so i replaced
InetSocketAddress serveraddr= new InetSocketAddress("0", 1111);
with
InetSocketAddress serveraddr= new InetSocketAddress("4194304", 1111);
where 4194304 is the ip of my wireless node but when iam trying to run the simulation
NS Mydemo.tcl
the following error appears
Proto Fatal: TCPSocketAgent::tcpEventReceived - Could not retrieve remoteSocketAgent for connection on 4194309
Any ideas how to solve this problem?
|