www.pudn.com > FileTranslate.rar > Program.cs


using System; 
using System.Collections.Generic; 
using System.Text; 
 
namespace TransReceiver 
{ 
	class Program 
	{ 
		static void Main(string[] args) 
		{ 
			FileReceiver fr = new FileReceiver(31000, 1024 * 16, "w:\\t-leoli"); 
			fr.startReceive(); 
			for (int iIndex = 0; iIndex < fr.workers.Length; ++iIndex) 
				fr.workers[iIndex].Join(); 
			Console.WriteLine("end!"); 
			Console.ReadLine(); 
		} 
	} 
}