in reply to Re^5: multithreaded tcp listener with IO::Socket
in thread multithreaded tcp listener with IO::Socket
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,
Pereant, qui ante nos nostra dixerunt!