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

  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 int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    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.

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, 03:04 AM
  2. specify linker switch in code
    By MK27 in forum C Programming
    Replies: 3
    Last Post: 02-15-2009, 04: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, 05: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