[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: :family extension for make_network_process

From: 山本和彦
Subject: Re: :family extension for make_network_process
Date: Mon, 19 Dec 2005 13:43:11 +0900 (JST)


> Can you pls. see if it makes sense.

Your patch cannot compile on MacOS X. This is because you are using
undefined member "s6_addr16". You MUST use "s6_addr" instead of
"s6_addr16". For more information, please refer to:


Also, you should use "getnameinfo()" with the NUMERIC flag instead of
direct access to "s6_addr". Since you wrap the code with #ifdef
AF_INET6, you can assume "getnameinfo()" is available.

> BTW, with IPv4, it is custom to write to separate the IP
> address and port number.  Is there a similar notation for IPv6? 

If you intend that the numeric representation would be used in URLs,
you should use the "[A:B:C:D:E:F:G:H]:port" notation. See:


If you don't have such intention, please use whatever you like.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]