Seen here https://stackoverflow.com/search?q=TypeError+argument+must+be+an+int+or+have+a+fileno%28%29+method
But just can\'t quite find my answer. I am trying out a c
select
doesn't work with non-socket objects on Windows. For more information see the documentation about select.select, where it mentions that:
File objects on Windows are not acceptable, but sockets are. On Windows, the underlying
select()
function is provided by the WinSock library, and does not handle file descriptors that don’t originate from WinSock.