[issue38285] Asyncio BaseEventLoop can support socket types other than SOCK_STREAM

John Beeler report at bugs.python.org
Tue Jan 5 13:12:00 EST 2021


John Beeler <jbeeler at optictheory.com> added the comment:

For what it's worth, a library I use currently hacks in this functionality by accessing the private method _create_connection_transport directly. This is done to allow a SOCK_RAW to be passed (which is itself required to then enable asyncio to be used for handling BLE).

This works, but as it requires the use of a private method, it's not ideal.

----------
nosy: +jbeeler

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38285>
_______________________________________


More information about the Python-bugs-list mailing list