IO::Select and error_array

C

Christoffer Lernö

Hello everyone,

IO::Select works very well for me, but it still holds some mysteries
for me. In particular: when will I get it to return due to an error?

More to the point, let's say I have:

read, write, error = IO::Select([some_io], [some_io], [some_io])

When will I get "error" to be something other than an empty array? I
used it with sockets, and having the socket remotely closed
apparently did not help provoke it.

/Christoffer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,772
Messages
2,569,588
Members
45,100
Latest member
MelodeeFaj
Top