Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libsocket.tex @ 30048:2cfaca62a990 legacy-trunk
Add note about fileno not being usable as a normal file descriptor in Windows.
| author | Brett Cannon <bcannon@gmail.com> |
|---|---|
| date | Tue, 05 Aug 2003 03:51:24 +0000 |
| parents | ad09687aaaa0 |
| children | bf038986cb8f |
line wrap: on
line diff
--- a/Doc/lib/libsocket.tex Tue Aug 05 03:48:29 2003 +0000 +++ b/Doc/lib/libsocket.tex Tue Aug 05 03:51:24 2003 +0000 @@ -480,6 +480,10 @@ \begin{methoddesc}[socket]{fileno}{} Return the socket's file descriptor (a small integer). This is useful with \function{select.select()}. + +Under Windows the small integer returned by this method cannot be used where +a file descriptor can be used (such as \function{os.fdopen()}). \UNIX{} does +not have this limitation. \end{methoddesc} \begin{methoddesc}[socket]{getpeername}{}
