Okay. Please offer first forgiveness for my lack of knowledge, but here goes with my question. I need to read in a data stream that will be coming through a Port from another software package. I know the ending of the data stream is when "EOS" "EOS" is found. This is what I have so far, but I am sure that I am barely close. Please help me if you can...
thanks dez L
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:$@";
}
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.