コード例 #1
0
        private void SendAllowPlay()
        {
            string message;

            byte[] messageByte;

            message     = "allow_play;" + gameManager.GetPlayersTurn().ToString() + ";\n\r";
            messageByte = Encoding.ASCII.GetBytes(message);

            foreach (NetworkStream ns in networkStreams)
            {
                SendMessage(messageByte, ns);
            }
        }