delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 16 Mar 2010 19:13:32 -1000 (HST) |
From: | Antonio Querubin <tony AT lava DOT net> |
To: | Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm> |
cc: | cygwin AT cygwin DOT com |
Subject: | Re: IPv6 help (Re: inetutils, r* commands) |
In-Reply-To: | <4BA03C96.2090605@cwilson.fastmail.fm> |
Message-ID: | <alpine.OSX.2.00.1003161838160.867@cust11794.lava.net> |
References: | <4B9EEF35 DOT 9000701 AT cwilson DOT fastmail DOT fm> <alpine DOT OSX DOT 2 DOT 00 DOT 1003160228590 DOT 452 AT cust11794 DOT lava DOT net> <4BA03C96 DOT 2090605 AT cwilson DOT fastmail DOT fm> |
User-Agent: | Alpine 2.00 (OSX 1167 2008-08-23) |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Tue, 16 Mar 2010, Charles Wilson wrote: > That's not really an option. I'm the inetutils (e.g. r* clients and > daemons, telnet client and daemon, etc) maintainer for cygwin -- I'm > trying to create the next official cygwin release of those tools. > > I don't think people would be very happy if they only supported IPv6. I wasn't suggesting that. AF_INET6 sockets allow IPv4 connectivity. Internally, IPv4 addresses are represented as IPv6-mapped addresses. You only convert them back to IPv4 text for display purposes (optional). Done correctly, any single-listener server app should be convertible to handle both IPv6 and IPv4 clients without converting it to a multi-listener server. Try googling for writing protocol-independent code. Your other challenge though is how to handle the address comparisons. But if you force the use of mapped addresses for any IPv4 address, things should be a little easier. Antonio Querubin 808-545-5282 x3003 e-mail/xmpp: tony AT lava DOT net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |