develooper Front page | perl.perl5.porters | Postings from August 2001

Re: Adding IPv6 to Perl

Thread Previous | Thread Next
From:
Gisle Aas
Date:
August 20, 2001 10:35
Subject:
Re: Adding IPv6 to Perl
Message ID:
lrbsla8wjv.fsf@caliper.ActiveState.com
Nick Ing-Simmons <nick@ing-simmons.net> writes:

> One does not allocate the struct sockaddr - one allocates what one has
> and then casts the pointer.  Else how does sockaddr_un work ?

Actually, pp_accept allocate a struct sockaddr.  I still wonder if
accept returning a sockaddr_un actually works.  I guess it "works
enough" as people only care about the boolean value of its return
value and never look into it.

--Gisle

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About