ipv6

'[WinError 10022] An invalid argument was supplied' when using Python asyncio.loop.create_datagram_endpoint and IPv6

'[WinError 10022] An invalid argument was supplied' when using Python asyncio.loop.create_datagram_endpoint and IPv6 Question: When I execute the following script I get Send: Hello World! Error received: [WinError 10022] An invalid argument was supplied Error received: [WinError 10022] An invalid argument was supplied Connection closed import asyncio import socket class EchoClientProtocol: def __init__(self, message, on_con_lost): …

Total answers: 1

Detect if IPv6 is supported, OS-agnostic, no external program?

Detect if IPv6 is supported, OS-agnostic, no external program? Question: Is there a way to detect if IPv6 is supported on a system, without using external programs and in an OS-agnostic way? I’ve searched high and low, here and throughout the Internet, it seems nearly every offered solution relies either on accessing /proc (not available …

Total answers: 3