exec other program and connect to it with unix domain

i exec a server program(it is a socket server, unix domain), and connect to it.
maybe the server is starting, so connect awalys fail with errno is ENOENT.

i have
setsockopt(m_socketfd, SOL_SOCKET, SO_SNDTIMEO, &timeout, len);
it still fails.

does anybody know a good solution.

Source: linux

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.