M0r13n / pyais

AIS message decoding and encoding in Python (AIVDM/AIVDO)
MIT License
176 stars 61 forks source link

import SO_REUSEPORT in streams.py fails on Windows #149

Closed poloturion54 closed 3 weeks ago

poloturion54 commented 3 weeks ago

SO_REUSEPORT isn't supported on Windows so streams cannot be imported or used.

Exception has occurred: ImportError cannot import name 'SO_REUSEPORT' from 'socket'

Introduced in 2.7.1

M0r13n commented 3 weeks ago

@poloturion54 Yes, you are right. Fixed with v2.7.2. Thank you for bringing this up!