I am using a server and the client programs from here.
When I run the client I encounter the following error:
Traceback (most recent call last):
File "client.py", line 26, in client
read_sockets, write_sockets, error_sockets = select.select(socket_list , [], [])
io.UnsupportedOperation: fileno
I am using Python 3, but I have changed all lines using print from Python 2 to 3.
Here is the code:
while True:
socket_list = [sys.stdin, s]
# Get the list sockets which are readable
read_sockets, write_sockets, error_sockets = select.select(socket_list, [], [])
s
in your example? – Benzedrine