Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: solution for fileevent on Win32 ???by pc88mxer (Vicar) |
on Jul 10, 2008 at 20:15 UTC ( [id://696800]=note: print w/replies, xml ) | Need Help?? |
A socket is just a file handle, so you can use syswrite or print.
can_read (from IO::Select) only returns true or false. It is telling you that you will not block if you try to read from the file handle. You have to call read or sysread to get the data.
In Section
Seekers of Perl Wisdom
|
|