static void Main(string[] args) { var link = new Link(1000); var ByteArray = Encoding.ASCII.GetBytes ("FALLOUTERAWESOME"); link.send (ByteArray, ByteArray.Length); }
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; }