LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 10-23-2011, 01:23 PM   #1
krabieh
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Rep: Reputation: Disabled
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
agentJ prog error bluetooth Linux - Newbie 2 03-14-2011 12:11 AM
[SOLVED] agentj installation bluetooth Linux - Newbie 1 03-07-2011 06:14 PM
AgentJ for NS2 marioma Linux - Networking 11 02-10-2011 03:31 AM
How to implement my own protocol with AgentJ dissou Linux - Networking 0 02-10-2011 03:25 AM
TCP simulations lvxing Linux - Networking 2 09-21-2004 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 04:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration