how to using ThreadPool to run socket thread parallel?

拜拜、爱过 提交于 2019-12-11 07:04:03

问题


I'm new in network programming and want to create new socket thread base on a request. My thread send request via tcp/ip socket and waiting the response. How can i using threadpool to create and run threads parallel ? Can anyone show me the sample ? Thank !


回答1:


Have a look at this: http://msdn.microsoft.com/en-us/library/fx6588te.aspx



来源:https://stackoverflow.com/questions/4020607/how-to-using-threadpool-to-run-socket-thread-parallel

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!