dgiardini / rtl-ais

A simple AIS tuner and generic dual-frequency FM demodulator
Other
264 stars 90 forks source link

Doesn't reset port on exit #49

Open haraldhh opened 2 months ago

haraldhh commented 2 months ago

There's some problems with resetting the connection when exiting rtl-ais with ^C, it doesn't free up the port and it's left in TIME_WAIT state. I get an 'Error initializing built-in AIS decoder' when trying to start rtl-ais and the program exits. If I wait a while until the TIME_WAIT state of the port is removed I'm able to start rtl-sdr again.