In main loop, receive packet, if it is a new call, spawn a handler, register it (make a link between call and handler) and give him this packet. If it is a packet for registered call, give it to particular handler. Otherwise just drop it.
Handlers will decode packets in context of current session; if session ends, handler exits.
In reply to Re: Dealing with multiple processes?
by fisher
in thread Dealing with multiple processes?
by bigmoose
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |