in reply to Using IO::Select in multi-client environment
If your "Process sockBuff" code blocks or takes a long time, then yes, you won't be able to process other incoming connections or incoming data.
One solution is to spawn a thread or process to do the work.
Another solution would be to do co-operative multitasking. "Process sockBuff" would be divided into smaller tasks, and can_read would be checked in between those smaller tasks.
|
|---|