问题
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