in reply to Re^4: How to Multiplex a Client using IO::Select
in thread How to Multiplex a Client using IO::Select
Another possible improvement would be to ditch Thread::Queue in favour of a Win32::Socketpair "pipe".
I'd be very reluctant to give up what I know works in favour of something, that despite my recognising it's promise, I've yet to get to grips with. Have you tried Win32::Socketpair yet?
From my view it just adds complications. You still need a thread to handle STDIN, but now you have the problem of passing socket handles around? How would you construct the above snippet?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: How to Multiplex a Client using IO::Select
by ikegami (Patriarch) on Oct 13, 2008 at 13:48 UTC | |
by BrowserUk (Patriarch) on Oct 13, 2008 at 14:49 UTC | |
by ikegami (Patriarch) on Oct 13, 2008 at 14:55 UTC | |
by BrowserUk (Patriarch) on Oct 13, 2008 at 15:55 UTC | |
|
Re^6: How to Multiplex a Client using IO::Select
by muthuma (Novice) on Oct 13, 2008 at 12:38 UTC | |
by BrowserUk (Patriarch) on Oct 13, 2008 at 13:26 UTC | |
by muthuma (Novice) on Oct 14, 2008 at 05:52 UTC | |
by ikegami (Patriarch) on Oct 13, 2008 at 13:39 UTC |