socket.fileno()
Return the socket’s file descriptor (a small integer), or -1 on failure. This is useful with select.select()
.
Under Windows the small integer returned by this method cannot be used where a file descriptor can be used (such as os.fdopen()
). Unix does not have this limitation.
Please login to continue.