Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-28-2017, 01:59 PM
|
#1
|
LQ Newbie
Registered: Apr 2017
Posts: 23
Rep:
|
problem when scheduling packet in ns2 and c++
hi friends, i want to send two agents from one node at the same time
so,i created two packets(p1,p2) and i scheduled them like this
scheduler::instance().schedule(target_,p1,0.0);
scheduler::instance().schedule(target_,p2,0.0);
i get error message event uid invalid!!!
|
|
|
05-29-2017, 04:58 AM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
If at all possible :
Looks like something you can do in "Otcl", i.e. in a simulation script.tcl
Else:
Check what ns2{multi-hop, multi-interface, multi-channel, multipath} is doing.
|
|
|
05-29-2017, 10:22 AM
|
#3
|
LQ Newbie
Registered: Apr 2017
Posts: 23
Original Poster
Rep:
|
ok knudfl, i have to used in c++ to sent 2 agents but i dont found a documentation to solve it
|
|
|
05-29-2017, 01:22 PM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
? Is it about sending like Agent/TCP and Agent/UDP or similar ?
From the same node ?
|
|
|
05-29-2017, 02:25 PM
|
#5
|
LQ Newbie
Registered: Apr 2017
Posts: 23
Original Poster
Rep:
|
yes knudfl
|
|
|
05-29-2017, 04:55 PM
|
#6
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Sending Agent/TCP and Agent/UDP
Sending Agent/TCP and Agent/UDP, please read this thread ...
https://groups.google.com/forum/?fro...rs/LVdlQye9pUo
Please download all the files, and try them out.
|
|
|
All times are GMT -5. The time now is 01:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|