/* ISC license. */ #include #include #include #include int ipc_bind_reuse (int s, char const *p) { unsigned int opt = 1 ; setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof opt) ; unlink(p) ; return ipc_bind(s, p) ; }