This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
document the limitations of protocol(), sockdomain(), socktype()
authorTony Cook <tony@develop-help.com>
Fri, 22 Jun 2012 10:25:06 +0000 (20:25 +1000)
committerTony Cook <tony@develop-help.com>
Mon, 2 Jul 2012 08:46:44 +0000 (18:46 +1000)
Determining these for a new_from_fd() socket has the following problems:

protocol() depends on SO_PROTOCOL, and socktype() on SO_TYPE, not
implemented on all systems.

sockdomain() depends on sockname(), which is documented as
unimplemented for AF_UNIX sockets on HP-UX.

I'm not sure that detail is useful in the documentation.


No differences found