ssdpy
ssdpy copied to clipboard
No attritute 'if_nametoindex' in socket since python3.8 on windows platform
Describe the bug python3.7 on windows does not support the method 'if_nametoindex'
Expected behavior
File "G:\language\python37\lib\site-packages\ssdpy\compat.py", line 31, in <module>
if_nametoindex = socket.if_nametoindex
AttributeError: module 'socket' has no attribute 'if_nametoindex'
Screenshots The document shows that the function was added on 3.8 on Windows
Environment (please complete the following information):
- Python version: python3.7
- SSDPy version: 0.4.1