Hi Eric,

 

Sorry about that, my mistake. This output was not the same as yours.

 

AF_INET family integer is: 2

AF_INET6 family integer is: 10

family for result was 10

hostname: localhost

family for result was 10

hostname: localhost

family for result was 10

hostname: localhost

 

Thanks!

 

Alexis Cheng

Electrical Engineering

University of British Columbia

 

Hi Eric,

 

I am running Ubuntu 9.10 and I believe I am using the newest version of boxturtle.

 

The output from the attached code is the same as yours.

 

Thanks!

 

Alexis Cheng

Electrical Engineering

University of British Columbia

 
Whoops.. forgot to attach the code (modified example from http://en.wikipedia.org/wiki/Getaddrinfo). Also, this produces:

AF_INET family integer is: 2
AF_INET6 family integer is: 10
family for result was 2
hostname: localhost
family for result was 2
hostname: localhost
family for result was 2
hostname: localhost
family for result was 2
hostname: localhost
family for result was 2
hostname: localhost
family for result was 2
hostname: localhost
on my Ubuntu 9.10 machine.

- Eric



30 days of prizes: Hotmail makes your day easier! Enter now