in reply to socket reading...
$sock->blocking(0);
Note that IO::Select provides an alternate select interface that you aren't using. You do not need to use a module to use the built-in select interface.
Note that when sysread returns 0 that means EOF.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: socket reading...
by jdv79 (Sexton) on Jul 28, 2001 at 03:56 UTC | |
by wog (Curate) on Jul 28, 2001 at 04:29 UTC | |
by tye (Sage) on Jul 28, 2001 at 11:00 UTC |