Connection with Unix or TCP socket.