Beispiel #1
0
        static void Main(string[] args)
        {
            var link = new Link(1000);

            var ByteArray = Encoding.ASCII.GetBytes ("FALLOUTERAWESOME");

            link.send (ByteArray, ByteArray.Length);
        }
Beispiel #2
0
        public static int Main(string[] args)
        {
            Link zelda = new Link(1000);

            Console.WriteLine ("Write somehting...");
            string read = Console.ReadLine ();

            Console.WriteLine ("Written line: " + read);

            byte[] buffer = Encoding.ASCII.GetBytes(read);

            zelda.send (buffer, buffer.Length);

            return 0;
        }