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?
Printable View
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...
Yeah, I read those articles but they still havent answered my questions.Quote:
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?