c++ code to switch between rts/cts to csma in ns2

This is a discussion on c++ code to switch between rts/cts to csma in ns2 within the Linux Programming forums, part of the Platform Specific Boards category; hi im presently doing a project, in which i have to disable rts/cts and enable csma when the rts/cts fail ...

  1. #1
    Registered User
    Join Date
    Apr 2012
    Posts
    1

    c++ code to switch between rts/cts to csma in ns2

    hi im presently doing a project, in which i have to disable rts/cts and enable csma when the rts/cts fail to sense the carrier 2 hops away .. i have tried a lot but im not getting it.. can someone pls help me with the code ???

    Many thanks

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,337
    Well you didn't explain your terminology - I'm guessing ns2 is this NS2: Network Simulator

    > i have tried a lot but im not getting it.. can someone pls help me with the code ?
    Nor did you post any of the code you apparently have.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using Functions/Switch Cases? (in my code)
    By smogsy in forum C Programming
    Replies: 1
    Last Post: 03-02-2011, 02:04 AM
  2. specify linker switch in code
    By MK27 in forum C Programming
    Replies: 3
    Last Post: 02-15-2009, 03:06 PM
  3. Replies: 7
    Last Post: 04-11-2008, 07:42 AM
  4. C code for operation of a switch
    By Ambika in forum C Programming
    Replies: 6
    Last Post: 11-16-2007, 04:32 AM
  5. Check for compiler switch in code
    By ChaosEngine in forum C++ Programming
    Replies: 3
    Last Post: 05-10-2007, 09:27 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21