|
珞珈山水BBS →
电脑网络 →
程序人生 →
单文区文章阅读
|
| 单文区文章阅读 [返回] |
|---|
|
发信人: buttcher (不是屠夫⊙网者归来), 信区: Programm 标 题: Re: 求助求助,MFC 发信站: 珞珈山水BBS站 (Mon Dec 12 19:50:17 2005), 转信 CAsyncSocket只能在一个线程中使用?这个我知道阿,线程间传递要用句柄,不能直接传 CAysncSocket实例,这个是可以保证的 【 在 oyljerry (勇敢的心→㊣开始习惯冬天~㊣) 的大作中提到: 】 : As already mentioned, a CAsyncSocket object should be used only in the context : of a single thread. If you need to switch the thread that is accessing a SOCK : ET connection with another thread, then you should use a separate CAsyncSocket : ................... -- People laugh and people cry; Some give up, some always try. Some say hi while some say bye, Others may forget you but never will I! ※ 来源:·珞珈山水BBS站 bbs.whu.edu.cn·[FROM: 218.83.115.*] |
| [返回单文区目录] |
|
|