Exemplo n.º 1
0
        public void SendPackage(params object[] args)
        {
            PackageOut pkg = args[0] as PackageOut;

            _socket.Send(pkg);

            Debug.Log("Socket SendPackage: [" + pkg.code.ToString() + "," + BitConverter.ToString(pkg.GetByteArray(0, pkg.length)) + "]");
        }