[Mono-list] IPv6 vs IPv4

Giuseppe Greco giuseppe.greco@agamura.com
Mon, 3 Nov 2003 09:59:50 +0100 (CET)


Hi all,

IPv6 should be compatible with IPv4... so when using
the Socket class, why should I care about IP versions?

For instance, the following piece of code should
work for either IPv4 or IPv6, isn't it?

  ...
  socket.SetSocketOption(SocketOptionLevel.IPv6,
    SocketOptionName.DropMembership,
    new IPv6MulticastOption(multicastAddr));
  ...

Thanks,
Gius_.

----------------------------------------
Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  giuseppe.greco@agamura.com
web:    www.agamura.com
----------------------------------------