}     // getIPAdress

        // envia una jugada al cliente
        public void enviarJugada(string tipo, int[] nodos)
        {
            Movimiento jugada     = new Movimiento(tipo, nodos); // creo la jugada
            string     jugadaJSON = JsonUtility.ToJson(jugada);  // serializo la jugada

            //          Debug.Log("Voy a enviar: " + jugadaJSON);
            // manejo las posibles excepciones
            try
            {
                this.datos = Encoding.ASCII.GetBytes(jugadaJSON);    // obtengo los bytes de la jugada
                this.stream.Write(this.datos, 0, this.datos.Length); // envio
            }
            catch (IOException e)
            {
                Debug.Log(e.Message);
            } // fin del try...catch

            //    Debug.Log("Jugada enviada");
            Debug.Log("Enviada: " + jugadaJSON);
        } // fin de enviarJugada