mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-12-23 04:10:18 +00:00
ba7838c04e
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. |
||
---|---|---|
.. | ||
Android | ||
__init__.py | ||
AutoInterface.py | ||
AX25KISSInterface.py | ||
I2PInterface.py | ||
Interface.py | ||
KISSInterface.py | ||
LocalInterface.py | ||
PipeInterface.py | ||
RNodeInterface.py | ||
SerialInterface.py | ||
TCPInterface.py | ||
UDPInterface.py |