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

Re: Adding IPv6 to Perl

Thread Previous | Thread Next
Gisle Aas
August 20, 2001 10:35
Re: Adding IPv6 to Perl
Message ID:
Nick Ing-Simmons <> 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.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About