Im working on IOCP framework server and I wonder if I have to take care on ordering incoming/outgoing packages if I use more than one worker threads?
This is a discussion on IOCP multithreading within the Networking/Device Communication forums, part of the General Programming Boards category; Im working on IOCP framework server and I wonder if I have to take care on ordering incoming/outgoing packages if ...
Im working on IOCP framework server and I wonder if I have to take care on ordering incoming/outgoing packages if I use more than one worker threads?
have you done some inet search?
http://www.codeproject.com/internet/iocp.asp - one of the first links I searched bring me this interesting article, that could be usefull for me, if I'd start such a project...
If I have eight hours for cutting wood, I spend six sharpening my axe.
Yeah, I read those articles but they still havent answered my questions.Originally Posted by vart
1) Do I have to take care for ordering packages?
2) Is it better to have windows take care of threads with BindIoCompletionCallback() or make my own thread pool? Im unsure how windows takes care of threads - would it handle threads/call function with good preformance?