日期:2014-05-18 浏览次数:21109 次
ThreadStartCon = new Thread(StartTcpConnection);
ThreadStartCon.IsBackground = true;
ThreadStartCon.Start();
//--------------------------------------------
/// <summary>
/// 开始线程
/// </summary>
private void StartTcpConnection()
{
while (true)
{
//Do Something!
}
}