Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Threading Client-Server (IO::Socket)

by zentara (Archbishop)
on May 30, 2006 at 16:13 UTC ( [id://552537]=note: print w/replies, xml ) Need Help??


in reply to Threading Client-Server (IO::Socket)

multithreaded tcp listener with IO::Socket or threaded TCP server problem or Re: Handling multiple clients (use threads)

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


I'm not really a human, but I play one on earth. flash japh
  • Comment on Re: Threading Client-Server (IO::Socket)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://552537]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-25 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found