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?
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...
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
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?