[cs631apue] hw4 questions.

Jan Schaumann jschauma at stevens.edu
Mon Nov 14 14:47:51 EST 2011


[ in the future, please delete quoted content that you are not referring
to - thanks ]

afonsec1 <afonsec1 at stevens.edu> wrote:
> On Mon, 14 Nov 2011 14:22:16 -0500, Jan Schaumann wrote:
>> afonsec1 <afonsec1 at stevens.edu> wrote:

>>> I didn't specify the ai_family, so the way that I get address info  
>>> is
>>> agnostic.
>>
>> I'm not sure I understand you correctly, but what you are describing
>> does not sound like it'd be portable code.  Can you provide an example
>> of what you're doing?

> "A value of AF_UNSPEC for ai_family means that the caller shall accept  
> any address family."

Ah, well, providing a value of AF_UNSPEC is different from not
specifying a family. :-)

> That is why I didn't see the point of toggling ipv6 address format, but  
> I guess we need to do it explicitly.

Yes, please.

-Jan


More information about the cs631apue mailing list