Thread: dual stack question

  1. #1
    Registered User Annonymous's Avatar
    Join Date
    Apr 2011
    Location
    Jackson, New Jersey, United States
    Posts
    302

    dual stack question

    I seen a recent post asking how to code a dual stack that is capable of handling both IPv4 and 6. So now I'm curious! So what is a dual stack exactly? Maybe ill code one, if its not to complicated. I did Google it and the answers were very vague. Also has IPv6 already succeeded IPv4? How important is it to know how to work with IPv6 in the field?
    Last edited by Annonymous; 11-24-2011 at 02:32 PM.

  2. #2
    Registered User
    Join Date
    Apr 2008
    Posts
    90
    Basically, a socket is dual stack if it can bind to both an IPv4 address and an IPv6 address. You do this by creating an IPv6 socket then setting the IPV6_V6ONLY socket option (under the IPPROTO_IPV6 level) to 0.

    This is supported in Linux 2.4.21 and later kernels and Windows Vista and later.

  3. #3
    Registered User Annonymous's Avatar
    Join Date
    Apr 2011
    Location
    Jackson, New Jersey, United States
    Posts
    302
    Daul stack guide ---> long.ccaba.upc.es/long/045Guidelines/eva/ipv6.html

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dual stack implementation using a single socket
    By aswathy in forum Networking/Device Communication
    Replies: 5
    Last Post: 11-24-2011, 02:05 PM
  2. C Stack question
    By Millsie in forum C Programming
    Replies: 12
    Last Post: 05-29-2011, 11:16 PM
  3. Dual Boot, Dual utrue
    By WDT in forum Tech Board
    Replies: 3
    Last Post: 06-10-2005, 08:00 PM
  4. Dual Monitor question heh
    By RoD in forum Tech Board
    Replies: 2
    Last Post: 07-11-2003, 01:18 PM
  5. Dual Display question
    By RoD in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 03-19-2003, 08:32 PM