LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-10-2019, 03:47 AM   #1
VankaSaiSumanth
LQ Newbie
 
Registered: Feb 2019
Posts: 2

Rep: Reputation: Disabled
Exclamation how to broadcast tcp data packets in wireless network in ns2


I am working on ns 2.35 simulator. I have tried many ways to broadcast packets. But whenever I tried it, I may either get an error or maybe transmitting beacons but not data packets. I am working in the backend of ns2 that is C++ and have changed much code in the mac802_11 file(mainly) and other files like tcp and tcp-sink. Is there any simple way to broadcast the data packets just like in wired connection or do we need to install something like maodv which I have tried and failed or do we need to change some code snippets in the backend. Any kind of help would be appreciated.
 
Old 05-11-2019, 10:23 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Broadcast : The "fastbroadcast" patch is available for ns-2.35 →
fastbroadcast_ns235.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing

All ~300 ns2 patches https://drive.google.com/drive/folde...00?usp=sharing

~3500 ns2 simulations https://drive.google.com/drive/folde...Ws?usp=sharing

-
 
  


Reply

Tags
broadcast, fastbroadcast, ns2, ns2-broadcast, ns2-c++-tcl, tcp, wireless



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
ubuntu tries send broadcast packets to another network v7-27 Linux - Networking 2 03-02-2016 05:56 AM
Why i am not able to send the broadcast packets in my home network ManikantaVelaga Linux - Networking 1 06-01-2013 09:56 AM
Accessing TCP flags in TCP packets on Linux using C !! vishamr2000 Programming 2 10-16-2006 09:46 AM
Broadcast without broadcast Mammuth Linux - Networking 1 10-01-2006 04:58 PM
encapsulating TCP packets in UDP packets... yoshi95 Programming 3 06-03-2004 02:53 PM

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

All times are GMT -5. The time now is 07:33 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