HP3000-L Archives

May 2000, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Mark Bixby <[log in to unmask]>
Date:
Wed, 31 May 2000 08:37:09 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
David Burney wrote:
>
> On Wednesday, May 31, 2000 5:17 AM, Andrew Cartledge  wrote:
>
> : What I want to understand is how box/application A can post data/requests
> : to box/application B via sockets.
>
> The following is not the only way to do things, just to give you an idea.

...good explanation of the useful but complicated NETIPC method snipped...

If box/application B is a web server, you really should consider using Perl.
The following when executed on box/application A will retrieve a web page from
box B and store it in the variable $doc:

#!/PERL/PUB/perl
use LWP::Simple;
$doc = get('http://www.bixby.org/mark/perlix.html');

Heck, even if box B is not a web server, Perl can make sockets programming
really easy.

- Mark B.

PS: A new release of Perl/iX is coming in a few days.

ATOM RSS1 RSS2