static void Main(string[] args) { TCPClient client = null; DateTime tick = DateTime.Now; var fileName = tick.ToString("yyyy-MM-dd---HH-mm-ss"); client = new TCPClient(fileName + ".txt\r\n"); }
static void Main(string[] args) { TCPClient client = null; client = new TCPClient("SatyaTest.cfg\r\n"); client = new TCPClient("SatyaTest1.cfg\r\n"); client = new TCPClient("SatyaTest2.cfg\r\n"); client = new TCPClient("SatyaTest3.cfg\r\n"); client = new TCPClient("SatyaTest4.cfg\r\n"); client = new TCPClient("SatyaTest5.cfg\r\n"); }
static void Main(string[] args) { TCPClient client = null; client = new TCPClient("filename"); }
static void Main(string[] args) { TCPClient.Start(); Console.ReadKey(); }