Eitan Schichmanter wrote: > Hi all, > > I need to establish a Server/Clients (multiple clients) model to run some tests. > > I've created the server via the IO::Socket::INET and the corresponding client. Works > great for ONE Server -> ONE Client. > > My question is: What do I need to do to enable more than one client on the server? > Should I use (i)threads to create a server for each client that comes along? > > Does anyone uses a model like this that can give me a lead on how to implement the > multiple client model?
I just use IO::Select (can_read, can_write and has_exceptions) and buffer the output on blocked output paths. -- ,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED] (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/ -/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff) _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs