how to make a non-blockin recv from perl socket

Posted by Haiyuan Zhang on Stack Overflow See other posts from Stack Overflow or by Haiyuan Zhang
Published on 2010-06-18T02:18:27Z Indexed on 2010/06/18 2:23 UTC
Read the original article Hit count: 266

Filed under:
|

I make a recv call on a TCP socket and it tured out to be that the recv call is a blocking one even though the socket itself has set to be in non-blocking mode. So my question is just as simple as: how to implement a non-blocking recv on a perl socket? thanks in advance.

© Stack Overflow or respective owner

Related posts about perl

Related posts about socket