Subject: | pack_sockaddr_in() does not set "sin_len" field on systems using BSD4.4 sockaddr_in structure |
Because the sin_len field isn't set, you can no longer use simple string
comparison to compare the output of pack_sockaddr_in() with a real
address generated by the kernel/libc. Hence my test failure:
http://www.nntp.perl.org/group/perl.cpan.testers/2008/01/msg990030.html
I've had a look into it but I can't see an easy way to tell if sin_len
is used on the platform from just the XS code - perhaps have the
Makefile.PL include a list of those platforms it is used on, and pass a
-DHAVE_SIN_LEN in to the CFLAGS?
--
Paul Evans