Exemple #1
0
        private void send(TcpClient client, string s)
        {
            byte[] data = Packet.CreateByteData(s);

            //no await. Fire and forget
            client.GetStream().WriteAsync(data, 0, data.Length);
        }