If type is unix, path is the path where to create the socket.
type
unix
path
If type is tcp, port and host are the host/port where to listen.
tcp
port
host