Author: wayland
Date: 2009-03-31 06:29:09 +0200 (Tue, 31 Mar 2009)
New Revision: 26033
Modified:
docs/Perl6/Spec/S32-setting-library/IO.pod
Log:
S32/IO: Added a .new() method to IO::Socket::Unix
Modified: docs/Perl6/Spec/S32-setting-library/IO.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/IO.pod 2009-03-31 04:22:47 UTC (rev
26032)
+++ docs/Perl6/Spec/S32-setting-library/IO.pod 2009-03-31 04:29:09 UTC (rev
26033)
@@ -1064,8 +1064,27 @@
=head2 IO::Socket::Unix
+ role IO::Socket::Unix does IO::Socket {
+ has Str $.RemoteAddr, # Remote Address
+ has Str $.LocalAddr, # Local Address
+ }
+
=over
+=item new
+
+ method new(
+ Str :$RemoteAddr,
+ Str :$LocalAddr,
+
+ Bool :$Listener, # Passed to IO::Socket.new()
+
+ Bool :$Blocking, # Passed to IO::Streamable.new()
+ Bool :$NoOpen, # Passed to IO::Streamable.new()
+
+ --> IO::Socket::Unix
+ ) {...}
+
=item pair
method pair(Int $domain, Int $type, Int $protocol --> List of IO)