Author: wayland
Date: 2009-03-31 07:07:01 +0200 (Tue, 31 Mar 2009)
New Revision: 26034

Modified:
   docs/Perl6/Spec/S32-setting-library/IO.pod
Log:
S32/IO: Based on some suggestions of bacek++ and skids++, I refined the 
initialisation of 
the $.Listening attribute.  This may need more discussion though.  


Modified: docs/Perl6/Spec/S32-setting-library/IO.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/IO.pod  2009-03-31 04:29:09 UTC (rev 
26033)
+++ docs/Perl6/Spec/S32-setting-library/IO.pod  2009-03-31 05:07:01 UTC (rev 
26034)
@@ -464,7 +464,7 @@
         does IO::Streamable 
     {
         has %.options;
-        has Bool $.Listener = 0;
+        has Bool $.Listener;
         ...
     }
 
@@ -481,6 +481,15 @@
         :$Listener, # initialises $.Listener
     )
 
+The initial value of the $.Listener attribute is defined according to the 
following rules:
+
+ * If $Listener is passed to .new(), then that value is used
+ * If neither a local address nor a remote address are passed in, throw an 
exception
+ * If no remote address is passed, then $.Listener is set to SOMAXCONN
+ * If no local address is used, then $Listener is set to 0
+ * If both local and remote addresses are used, throw an exception that asks 
people to 
+   specify $Listener
+
 =item open
 
     method open()

Reply via email to