You may not need the complexity of threads. If the message transfers are short( i.e. you are not transferring big files, or connecting interactively) you probably can just use IO::Select and a single server accepting 10 connections. There are many examples of that floating around. You can use the searchbox and search for "chat server", and/or IO::Select
In reply to Re: Threading Client-Server (IO::Socket)
by zentara
in thread Threading Client-Server (IO::Socket)
by bloonix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |