thrownetio_exception("Unable to enable password authentication for file socket. REASON: "+std::string(errno==EINVAL?"EINVAL":(errno==ENOPROTOOPT?"ENOPROTOOPT":"unexpected")));
// TODO might fail as not created with socketpair(). Check man2 socketpair
}
}
make_socket_nonblocking(socket_fd);
if(listen(socket_fd.get(),5)==-1){
// We already created the socket and close won't remove the file thus we need to unlink it.
unlink(get_usocket_path(addr).c_str());
thrownetio_exception("Failed to enable listening mode for raw socket");
thrownetio_exception("Failed to enable listening mode for raw socket.");