summary refs log tree commit diff
path: root/listen.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-11-23 16:49:22 -0500
committerJune McEnroe <june@causal.agency>2020-11-23 17:11:02 -0500
commit83dcb6f4856198b92431a0281922f26f0734ff56 (patch)
tree58392d12252615aead511c7f96157057b24120f9 /listen.c
parentClean up main loop loops (diff)
downloadpounce-83dcb6f4856198b92431a0281922f26f0734ff56.tar.gz
pounce-83dcb6f4856198b92431a0281922f26f0734ff56.zip
Unlink existing UNIX socket if it can't be connected to 2.1
I think this emulates SO_REUSEADDR, which for some reason doesn't work
on PF_UNIX. If the socket exists, check if connect(2) works, rather than
clobbering the socket being used by a still-running instance.
Diffstat (limited to 'listen.c')
0 files changed, 0 insertions, 0 deletions