Unix domain socket server and client There are three types of unix domain socket.
"unix" corresponds to SOCK_STREAM "unixdomain" corresponds to SOCK_DGRAM "unixpacket" corresponds to SOCK_SEQPACKET When you write a “unix” or “unixpacket” server, use ListenUnix().
l, err := net.ListenUnix("unix", &net.UnixAddr{"/tmp/unixdomain", "unix"})