[Zope3-checkins] CVS: Packages/ZConfig/doc - zconfig.tex:1.43

Fred L. Drake, Jr. fred@zope.com
Tue, 7 Jan 2003 18:09:51 -0500


Update of /cvs-repository/Packages/ZConfig/doc
In directory cvs.zope.org:/tmp/cvs-serv4143/doc

Modified Files:
	zconfig.tex 
Log Message:
Change the return value of the socket-address data type conversion so that
AF_UNIX addresses can be parsed even on Windows.
This requires code that uses the socket-address values to change.


=== Packages/ZConfig/doc/zconfig.tex 1.42 => 1.43 ===
--- Packages/ZConfig/doc/zconfig.tex:1.42	Tue Jan  7 16:38:19 2003
+++ Packages/ZConfig/doc/zconfig.tex	Tue Jan  7 18:09:18 2003
@@ -382,12 +382,15 @@
   non-root users.
 
 \term{socket-address}
-  An address for a socket.  The converted value is a pair containing
-  the address family (\constant{AF_INET} or \constant{AF_UNIX}) in the
-  first part and the specific address in the second part.  If the
-  family is \constant{AF_UNIX}, the specific address will be a
-  pathname; if the family is \constant{AF_INET}, the second part will
-  be the result of the \strong{inet-address} conversion.
+  An address for a socket.  The converted value is an object providing
+  two attributes.  \member{family} specifies the address family
+  (\constant{AF_INET} or \constant{AF_UNIX}), with \code{None} instead
+  of \constant{AF_UNIX} on platforms that don't support it.  The
+  \member{address} attribute will be the address that should be passed
+  to the socket's \method{bind()} method.  If the family is
+  \constant{AF_UNIX}, the specific address will be a pathname; if the
+  family is \constant{AF_INET}, the second part will be the result of
+  the \strong{inet-address} conversion.
 
 \term{string}
   Returns the input value as a string.  If the source is a Unicode