Closed Furkan125 closed 3 years ago
"localhost"
-> b"localhost"
https://docs.python.org/3/howto/pyporting.html#text-versus-binary-data
Looks like the README examples need to be updated for Python 3. PRs welcome!
Yes, its README example. By the way its worked tysm.
Hi, i try to create server with pyenet but i got this error:
File "enet.pyx", line 262, in enet.Address.init File "enet.pyx", line 296, in enet.Address.host.set TypeError: expected bytes, str found
My code: