You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.
By default, at least on Linux, if I start catflap, then kill it and start it again (within a few seconds), it fails with Could not bind: EADDRINUSE: Address already in use, although there isn't any process actually listening on that endpoint (as confirmed by netstat); this is because the TCP/IP stack on Linux disallows the usage of the same endpoint for a time if any "delayed" packets might be received.
In order to allow the immediate restart of catflap, the SO_REUSEADDR socket address must be set when creating the socket. (This would be perhaps useful by default given that catflap is mainly meant for development purposes.)
(If accepted I'm willing to provide the patch.)
The text was updated successfully, but these errors were encountered:
By default, at least on Linux, if I start
catflap
, then kill it and start it again (within a few seconds), it fails withCould not bind: EADDRINUSE: Address already in use
, although there isn't any process actually listening on that endpoint (as confirmed bynetstat
); this is because the TCP/IP stack on Linux disallows the usage of the same endpoint for a time if any "delayed" packets might be received.In order to allow the immediate restart of
catflap
, theSO_REUSEADDR
socket address must be set when creating the socket. (This would be perhaps useful by default given thatcatflap
is mainly meant for development purposes.)(If accepted I'm willing to provide the patch.)
The text was updated successfully, but these errors were encountered: