in reply to Re^2: solution for fileevent on Win32 ???
in thread solution for fileevent on Win32 ???

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.

Replies are listed 'Best First'.
Re^4: solution for fileevent on Win32 ???
by cta (Acolyte) on Jul 16, 2008 at 20:26 UTC