Thread: IPv6 address increment

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    2

    IPv6 address increment

    Hii every body..

    how to increase the addressing format by 1(using C language).Suppose my address is
    fa23:aabf:ffff
    My output will be - fa23:aac0:0000
    Any suggestion??

  2. #2
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    >Any suggestion??
    Do you know how that increment took place ?
    If not.. read up on hexadecimal numbers.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Just in case it's already answered elsewhere -> How To Increment IPv6 Address? - C And C++ | Dream.In.Code
    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. Post Increment an Pre Increment operators in c++
    By anil_ in forum C++ Programming
    Replies: 4
    Last Post: 11-12-2011, 08:27 PM
  2. IPv6 Address
    By sarathius in forum Networking/Device Communication
    Replies: 8
    Last Post: 03-02-2008, 05:52 AM
  3. IPv6 convert
    By smmad in forum C++ Programming
    Replies: 0
    Last Post: 05-02-2007, 03:53 AM
  4. Increment the address stored in a pointer???
    By patricio2626 in forum C++ Programming
    Replies: 9
    Last Post: 04-04-2007, 06:36 PM
  5. Post increment and pre increment help
    By noob2c in forum C++ Programming
    Replies: 5
    Last Post: 08-05-2003, 03:03 AM

Tags for this Thread