Beispiel #1
0
        public static void Main(String[] args)
        {
            TCPConnection con = new TCPConnection();

            con.Send();
            con.Close();
            con.Open();
            con.Open();
            con.Send();
            con.Close();
            con.Send();

            Console.WriteLine("fim");
            Console.ReadLine();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            TCPConnection tcp = new TCPConnection();

            tcp.Open();
            tcp.Acknowledge();
            tcp.Close();
            Console.ReadLine();
        }