noip.c: Support `SO_REUSEADDR', rather sketchily.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 9 Jun 2018 14:56:33 +0000 (15:56 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 9 Jun 2018 14:58:23 +0000 (15:58 +0100)
commita59a964f9c53aa41b1c3ccb0273c3a1b6886a4ed
tree0dedc8eff57ed6fe344bd359bed3f5716589969e
parent97162e5b05244df7dee91813544cd2e1566d881c
noip.c: Support `SO_REUSEADDR', rather sketchily.

If the caller tries to bind, and has previously set the `SO_REUSEADDR'
flag, then unlink any existing socket unless there's an active listener
already.
noip.c