static void Main(string[] args) { Thread.Sleep(500); // Sleep to demonstrate client timeout/retry behavior. var server = new TftpServer(); Console.ReadKey(); server.Stop(); }
static void Main(string[] args) { TftpServer ts = new TftpServer() { Root = @"F:\TftpPut", HostName = "TftpServer Example", HostIp = "192.168.2.10" }; ts.StartTftp(); }