Reticulum/RNS/Interfaces
Maya ba7838c04e Use SO_EXCLUSIVEADDRUSE instead of SO_REUSEADDR on Windows.
On Linux, SO_REUSEADDR is used so that a socket in TIME-WAIT state can
be rebound after a listening process is restarted. It does not allow two
processes to listen on the exact same (addr, port) combination. However,
on Windows, it does, and SO_EXCLUSIVEADDRUSE is required to reproduce
the Linux behavior.

Reticulum relies on an error being returned by bind() that reuses
the same (addr, port) combination as another process to detect whether
there is a shared instance already running. Setting SO_EXCLUSIVEADDRUSE
makes this detection process work on Windows as well.
2023-04-19 03:03:15 +01:00
..
Android Adjusted loglevels 2022-12-22 18:20:13 +01:00
__init__.py Fixed Android interfaces import 2022-10-22 01:38:38 +02:00
AutoInterface.py Fixed potential race condition in announce queue handling for AutoInterface 2023-03-09 18:32:14 +01:00
AX25KISSInterface.py Updated deprecated threading API call and updated docs 2022-09-30 19:02:41 +02:00
I2PInterface.py Improved I2P recovery time on unresponsive tunnels 2022-11-03 22:47:08 +01:00
Interface.py Implemented unknown path discovery 2022-05-22 14:18:58 +02:00
KISSInterface.py Updated deprecated threading API call and updated docs 2022-09-30 19:02:41 +02:00
LocalInterface.py Use SO_EXCLUSIVEADDRUSE instead of SO_REUSEADDR on Windows. 2023-04-19 03:03:15 +01:00
PipeInterface.py Updated deprecated threading API call and updated docs 2022-09-30 19:02:41 +02:00
RNodeInterface.py Improved RNode reconnection when serial device disappears 2023-02-18 13:31:22 +01:00
SerialInterface.py Updated deprecated threading API call and updated docs 2022-09-30 19:02:41 +02:00
TCPInterface.py Fixed missing IFAC identity init on spawned TCP clients. Closes #137. 2022-11-03 14:16:00 +01:00
UDPInterface.py Updated deprecated threading API call and updated docs 2022-09-30 19:02:41 +02:00