]> granicus.if.org Git - python/commitdiff
[Bug #1562583] Mention the set_reuse_addr() method
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 27 Oct 2006 13:06:41 +0000 (13:06 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 27 Oct 2006 13:06:41 +0000 (13:06 +0000)
Doc/lib/libasyncore.tex

index 4425da70d5f4482fe2225cdf791ffbfdb3bd957c..206783911d597cb117ad00af8f848d8a3d6fad67 100644 (file)
@@ -198,9 +198,11 @@ Most of these are nearly identical to their socket partners.
 \end{methoddesc}
 
 \begin{methoddesc}{bind}{address}
-  Bind the socket to \var{address}.  The socket must not already
-  be bound.  (The format of \var{address} depends on the address
-  family --- see above.)
+  Bind the socket to \var{address}.  The socket must not already be
+  bound.  (The format of \var{address} depends on the address family
+  --- see above.)  To mark the socket as re-usable (setting the
+  \constant{SO_REUSEADDR} option), call the \class{dispatcher}
+  object's \method{set_reuse_addr()} method.
 \end{methoddesc}
 
 \begin{methoddesc}{accept}{}