On Jun 30, 2004, at 3:49 AM, Bastian Angerstein wrote:
Hello, there
I am progarmming a client server passed solution.
My Question here ist which Modul I should use.
I already noticed that the IO::Socket and the NetServer::Generic are both easy to use.
My question is does a IO::Socket server handle multiple clients or not?
By itself, not really. To handle multiple clients you need to combine it with some sort of multiprocessing device: Threading, fork(), or non-blocking IO. These can be handled without a module, but it doesn't fall into the category you mentioned, "easy to use".
Just FYI, if you're going to be digging deep into networking, Network Programming with Perl is simply an excellent book.
Good luck.
James
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>