IP 4 vs IP 6

This is a discussion on IP 4 vs IP 6 within the Networking/Device Communication forums, part of the General Programming Boards category; I'm writing an HTTP server in C# and I'm not sure what to put as the first parameter for a ...

  1. #1
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913

    IP 4 vs IP 6

    I'm writing an HTTP server in C# and I'm not sure what to put as the first parameter for a Socket constructor - is it better to us IP version 4 or 6?

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    IPv6 is the next generation internet protocol that may eventually replace IPv4 which has been used for the last ~20 years. You're not connected to the IPv6 internet and you're computer is probably not configured to use IPv6 (although XP can use IPv6).

    Therefore, you must support IPv4. It is up to you whether you also support IPv6 to 'future proof' your application. To do this you have to bind to both the IPv4 endpoint and the IPv6 endpoint and essentially run two instances of your server. See IPv6 Guide for Windows Sockets Applications for more information.


    Search for IPv6 or 6Bone for more information.
    Last edited by anonytmouse; 06-17-2004 at 06:12 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Converting 32 bit binary IP to decimal IP (vice-versa)
    By Mankthetank19 in forum C Programming
    Replies: 15
    Last Post: 12-28-2009, 06:17 PM
  2. IP address network order to string?
    By pobri19 in forum Networking/Device Communication
    Replies: 1
    Last Post: 04-19-2009, 05:15 AM
  3. Replies: 6
    Last Post: 06-08-2006, 04:11 PM
  4. Ip adresses
    By Da-Nuka in forum Networking/Device Communication
    Replies: 8
    Last Post: 02-27-2005, 01:25 PM

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