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. |
||
---|---|---|
.. | ||
Cryptography | ||
Interfaces | ||
Utilities | ||
vendor | ||
__init__.py | ||
_version.py | ||
Buffer.py | ||
Channel.py | ||
Destination.py | ||
Identity.py | ||
Link.py | ||
Packet.py | ||
Resource.py | ||
Reticulum.py | ||
Transport.py |