This probably isn't too much of a beginner question, but I think I have 
the hard stuff under control.  I'm writing a Multiplexed Non-Blocking 
I/O Telnet Server.  Don't panic yet, that part all works fine now!  I 
told you I've got the tough stuff under control.  Unfortunately, I'm 
being whipped by an easier problem.

I decided to add logging services (output to a text file) to the 
server.  That seemed like a no-brainer, open a filehandle when the 
server launches and select() over it with all the sockets.  Halfway 
through doing this, I noticed this gem in Network Programming with 
Perl, "...the Win32 port of Perl does not support select() on 
non-socket filehandles..."  Lovely.  Technically, I'm not on Windows 
but I have been trying to keep the code portable, so my questions are:

1.  Is this still a true statement about ActivePerl in current 
versions?  I'm targeting versions 5.6.0 and up.

and

2.  If it is true, is there another good (and remember, portable) way 
to log information to a text file without blocking my one thread, one 
process server?

Thanks for your time.

James Gray


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to