in reply to Threading Client-Server (IO::Socket)
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
|
|---|