basicdez has asked for the wisdom of the Perl Monks concerning the following question:
Okay, I think that is what I have to do open my port, but now what do I need to do to read in the incoming data stream coming from $host:$port. Please help if you can.my $clientfd = IO::Socket::INET->new(PeerAddr => $host, PeerPort => $port, Proto => "tcp", Type => SOCK_STREAM); if ($@) { my $conn_err = "Could not connect to $host:$port:$@"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Input of a Data Stream
by gbarr (Monk) on Oct 05, 2001 at 21:24 UTC | |
|
Re: Input of a Data Stream
by chromatic (Archbishop) on Oct 05, 2001 at 21:12 UTC |