support IPV6 connection ?
tomitomas opened this issue · comments
ToMtOm commented
Hi,
first of all, thanks for this great lib !
Quick question :
WebsocketServer(host="0.0.0.0", port=12345)
will that allow a connection using IPV6 ?
if not, is there a specific config to allow it ?
Alexandre Vigneau commented
Hi,
you need to modify the variable address_family of the TCPServer Class in the socketserver.py file of your python lib like this:
address_family = socket.AF_INET6