5

As you must be aware that IPv4 addresses ar almost over and the switch to IPv6 is imminent, should I, as a programmer need to worry about anything to make my applications work with the new system ?

Please pardon my ignorance. Its always better to ask and learn than pretending to know-it-all.

gnat
  • 20,543
  • 29
  • 115
  • 306
Danish
  • 914
  • 6
  • 10

2 Answers2

8

The short answer: yes

The longer answer: depends on what your applications are doing.

  • How are your applications handling networking?
  • Are you doing IPv4 manipulations?
  • What languages are your applications written in?
  • Are the libraries IPv6 safe?
  • Are your data structures specific to IPv4, or are they flexible?

Every programmer writing internet-aware applications should, at the very least, be aware of IPv6. Whether IPv6 affects the code you're responsible for requires a lot more information.

Peter L
  • 916
4

Your code should be written to use IPv6 interfaces; these will work with IPv4 too. The IPv6 APIs tend to be better organized than the IPv4 ones, too. The APIs allow you to work with IPv4 networks as well as IPv6 ones.

The main difference is when printing addresses: IPv4 dotted decimal (10.0.1.123) notation does have an analogue in IPv6, but it is more complex (and longer because the addresses are 128 bits instead of 32 bits). Host names are recommended for IPv6.

Possible IPv6 address notations:

  • 0013:2124::0319 (abbreviated)
  • 0013:2124:0000:0000:0000:0000:0000:0319 (longhand for previous address)

There are a number of variant address formats, including IPv4 transitional aids.