in reply to Re^5: multithreaded tcp listener with IO::Socket
in thread multithreaded tcp listener with IO::Socket
Hi BrowserUk,
I am still having a little trouble with my socket handles. I put the fileno an a queue and the treah picks it up OK. The problem comes down to this line in the handler thread
open my $socket, '<&=', $fileno;
The socket of course is opened read only but I need to write an 'OK' back to it when I have got the event. I tried
open my $socket, '+<&=', $fileno;
still no luck. Any idea how I can re-open it read/write ?
Thanks a million for your help, there is a $favourite_drink waiting for you any time you are in Amsterdam,
R.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: multithreaded tcp listener with IO::Socket
by BrowserUk (Patriarch) on May 18, 2006 at 13:31 UTC | |
by txemy (Initiate) on Nov 15, 2010 at 10:48 UTC | |
by BrowserUk (Patriarch) on Nov 15, 2010 at 12:02 UTC | |
by txemy (Initiate) on Nov 15, 2010 at 12:52 UTC |