From: John Bryan <johnb@austin.rr.com>
To: linuxppc-dev@lists.linuxppc.org
Subject: TCP module for perl
Date: Sun, 05 Sep 1999 01:12:50 -0500 [thread overview]
Message-ID: <37D209E2.873EDD17@austin.rr.com> (raw)
Howdy,
I am looking for a TCP module to use with the Perl
install that comes with LinuxPPC 1999.
At work for Solaris I have it referenced as tcp.pl
I am trying to do something like:
-------
#!/usr/bin/perl
use Socket;
require "/usr/local/bin/tcp.pl"; <----don't have
if (open_TCP(F, $ARGV[0], 1411) == undef) {
print "Error connecting to server at $ARGV[0]\n";
exit(-1);
}
print F "GET http://some.domain.com HTTP/2.0\n\n";
-------
When I try without the 'require' it says the open_TCP
subroutine is undefined, so I don't have the tcp.pl
apparently.
It is not on my Linux install, at least not under /usr,
and the FAQ-o-matic didn't turn up anything on it.
I will keep digging around 'the usual places' and see
what I might turn up, but if anyone knows where I can
pick this up for LPPC, I'd sure appreciate it.
Thanks,
JB
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next reply other threads:[~1999-09-05 6:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-05 6:12 John Bryan [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-09-05 11:30 TCP module for perl Paul J. Schinder
1999-09-05 20:43 ` mail
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=37D209E2.873EDD17@austin.rr.com \
--to=johnb@austin.rr.com \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).