You will find your happiness using socketpair
So for Unix domain socket, the use of connect accept depends on wich mode you want use. You can use it without conect accept (not connected mode) by specifying SOCK_DGRAM in your socket call and recvfrom/sendto (without using connect to avoid connected datagram mode...).
It's so important to bind all communication members for getting the address for the "client" else you cannot send response to the client with sendto because the sockaddr_un's client received is empty !
You can see this best example for your need : client and server in the same site (replace cl by sv in the name link).
Regards,
/mohamed