SIGN IN SIGN UP

Add an option for flutter daemon to listen on a TCP port (#95418)

* Add an option for flutter daemon to listen on a TCP port

Added a new class DaemonConnection to reuse the connection handling
between daemon server and client, and handle connection with different
medium (stdio, socket).

Added a new option `listen-on-tcp-port` to the flutter daemon command,
when passed, the daemon will accept commands on a port instead of stdio.

* Review feedback and add test for TcpDaemonStreams

* Review feedbacks
L
Lau Ching Jun committed
2b46ea447fc1d692752ba297722a45143385f30a
Parent: dc684e8
Committed by GitHub <noreply@github.com> on 12/22/2021, 2:21:04 PM