Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


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

    Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://696800]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others musing on the Monastery: (2)
    As of 2024-04-26 03:43 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found