Z zuping Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-17 #1 辅线程中的阻塞式Socket调用导致该线程阻塞,主线程如何终止此线程及如何收回资源,希望有个简单的例程,谢谢!!!!!!!!!!
X xixi Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-18 #4 TerminateThread(XThread.Handle, 1);
W weiwei81123 Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-18 #5 thread.Suspend; thread.Free;
L lich Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-19 #6 TerminateThread(XThread.Handle, 1); 是强行终止
Y yangying_2000 Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-19 #7 最好等待,不要强行终止,一般来说会超时的
W wzca Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-19 #8 阻塞式 不会超时的。如果对方有没数据传过会,会永远等下去的吧?
Q qlj Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-29 #11 如果你需要阻塞模式的SERVER,可以考虑DELPHI7+INDY9, DELPHI7下的DEMOS/INDY/SendReceiveRecords列子应该符合你的需要