Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: socket server threads or forkby BrowserUk (Patriarch) |
on Jun 18, 2013 at 17:53 UTC ( [id://1039615]=note: print w/replies, xml ) | Need Help?? |
To get you started. Ostensibly, you only need to add 4 lines to your existing code (here cleaned up a little) to make it a threaded socket server:
Note: That is untested, and not a perfectly working socket server; but pretty much everything that needs adding; also needs adding to your original code. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|