At first glance that looks to be what's happening (presuming my rusty C is right) and I can duplicate with your script on my mac. This is probably something you should open an issue for (see perlbug); my guess is that hard-coded 256 should really be changed to maybe sizeof(struct tcp_info) (but again, rusty).
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: getsockopt truncating values to 256 bytes ?
by Fletch
in thread getsockopt truncating values to 256 bytes ?
by Yaribz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |