Sounds like you want some sort of job queue where each incoming packet received adds an work item to a queue. A background thread (or threads) could then wait for items in the queue and process them.
=================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com