Re: socket server threads or forkby BrowserUk (Pope)
|on Jun 18, 2013 at 17:53 UTC||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.