in reply to Re: Is there any way to connect two sockets together?
in thread Is there any way to connect two sockets together?
In addition, you might be interested in the 'can_read' method of IO::Select instead of calling select directly. This is a little "friendlier":
my @readable = $read->can_read; foreach $fh (@readable) { ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Is there any way to connect two sockets together?
by c-era (Curate) on Jan 11, 2001 at 21:06 UTC |