On Apr 10, 2008, at 13:23, Mark Swayne wrote:
Does anybody have some working code using Win32::SerialPort with POE?

I've tried to follow the example in the cookbook, but haven't been able to get very far. I injected a FILENO method. Unfortunately, I never seem to get any data from my comm port. Is this due to the broken socket-only select on Windows?

I believe so, yes. Perl's select() is written using Windows' winsock library, which only multiplexes sockets. Your serial port is probably a device, so it's not eligible.

Cygwin-built Perl doesn't have this limitation, but I don't know whether Win32::SerialPort works there.

--
Rocco Caputo - [EMAIL PROTECTED]

Reply via email to