// Start is called before the first frame update void Start() { adapter = new NetworkAdapter(); adapter.Connect("tcp://127.0.0.1:7000", new TcpEnDecode(), this.NetRespEvent); }