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(); }
static void Main(string[] args) { TCPConnection tcp = new TCPConnection(); tcp.Open(); tcp.Acknowledge(); tcp.Close(); Console.ReadLine(); }