######################################################################

Re: perl code to listen/connect/etc to unix domain sockets ..

# File Name: clients.and.servers.AF.UF
# File Size in BYTES: 5549
# Sender/Author/Poster: Tom Christiansen 
# Subject: Re: perl code to listen/connect/etc to unix domain sockets ..
# Archived: Apr 29 02:16 1994
#
# else parent

# :phone@cairo.anu.edu.au (matthew green) writes:
# :>i'm after some perl code to work with unix domain sockets.
# :please note that this is -not- covered in chat2.pl, nor anywhere
# :else i can fine.  i'm talking about AF_UNIX, struct sockaddr_un,
# Look at these....
# 

######################################################################

Re: Running a Perl net-server under inetd

# File Name: getpeer.q.and.a
# File Size in BYTES: 1456
# Sender/Author/Poster: mike@software.com (Michael D'Errico)
# Subject: Re: Running a Perl net-server under inetd
# Archived: Apr 29 02:16 1994
#
# >How do I get the right socket of the caller? I had thought it would
# >be mapped to the FD of stdin, i.e. 0. Am I wrong?
# Use '$othersock = getpeername(STDIN);'
# 

######################################################################

Re: How to find if there's something on a Sock

# File Name: multiplex.sockets.example
# File Size in BYTES: 2472
# Sender/Author/Poster: sunds@asictest.sc.ti.com (David M. Sundstrom)
# Subject: Re: How to find if there's something on a Sock
# Archived: Apr 29 02:16 1994
#

# > Can anyone tell me how to find if there is something to read on a
# > socket?  
# 

######################################################################

Re: Remote perl scripts

# File Name: muxrsh.pl.new
# File Size in BYTES: 8741
# Sender/Author/Poster: sps@mcnc.org (Stephen P. Schaefer)
# Subject: Re: Remote perl scripts
# Archived: Apr 29 02:16 1994
#
# This is a mux version of rsh 
# it will do several rsh commands in parallel
# 

######################################################################

Re: pack/unpack question

# File Name: packing.and.unpacking.addresses.and.vec
# File Size in BYTES: 1458
# Sender/Author/Poster: tshiono@cv.sony.co.jp (Toru SHIONO)
# Subject: Re: pack/unpack question
# Archived: Apr 29 02:16 1994
#
# :Can anyone tell me why the following code segment does not work?
# 

######################################################################

s2func.pl (Convert structures to network data and back)

# File Name: s2func.pl
# File Size in BYTES: 6012
# Sender/Author/Poster: slouken@water.ca.gov (Sam Lantinga)
# Subject: s2func.pl (Convert structures to network data and back)
# Archived: Apr 29 02:16 1994
#
# Sam Lantinga                                            10/17/93
# structure -> network buffer / network buffer -> structure 
# C functions.
# 	Finally!!  I got a program to write routines that will convert 
# binary structure definitions into a portable data representation and
# re-convert them.. similar to htons() and ntohs() for structures!
# 

######################################################################

Re: perl code to listen/connect/etc to unix domain sockets ..

# File Name: socket.library
# File Size in BYTES: 8482
# Sender/Author/Poster: muir@idiom.berkeley.ca.us (David Muir Sharnoff)
# Subject: Re: perl code to listen/connect/etc to unix domain sockets ..
# Archived: Apr 29 02:16 1994
#
# >i'm after some perl code to work with unix domain sockets.
# I played with this a couple of months ago:
# 

######################################################################

Yet another friendly socket library + test code for Larry

# File Name: sockets.pl
# File Size in BYTES: 11021
# Sender/Author/Poster: muir@idiom.berkeley.ca.us (David Muir Sharnoff)
# Subject: Yet another friendly socket library + test code for Larry
# Archived: Apr 29 02:16 1994
#
# I wanted to use udp sockets in perl and didn't see any nice
# examples, so I made one.  In the process, I decided to make a 
# library for creating all sorts of sockets.
# 

######################################################################

Re: Sockets and stuff question...

# File Name: tcp.wrappers.new
# File Size in BYTES: 8380
# Sender/Author/Poster: cameron@cse.unsw.edu.au (Cameron Simpson)
# Subject: Re: Sockets and stuff question...
# Archived: Apr 29 02:16 1994
#
# Package for UDP connections:
# Package for network stuff.
# 

######################################################################

SNMPerl (Requires CMU SNMP package)

# File Name: SNMPerl
# File Size in BYTES: 43138
# Sender/Author/Poster: gmstreet@guy.b30.ingr.com (Guy Streeter)
# Subject: Re: SNMP via Perl?
# Archived: Sep 28 1993
#
# A note to those using the snmperl package.  I don't have the time
# right now to work up documentation, etc., but a reasonably good hacker
# (I've done it) can make this work as an SNMPv1 client using the SNMPv2
# CMU package, which is generally more reliable than the 1.1b version
# referenced in the README.  I recall that it's just a matter of fixing
# some #include references.
# 

######################################################################

SO-KEEPALIVE.example

# File Name: SO-KEEPALIVE.example
# File Size in BYTES: 2114
# Sender/Author/Poster: huober_j@oracle.rz.uni-ulm.de (Joachim Huober)
# Subject: Re: socket SO_KEEPALIVE example needed
# Archived: Jun 4 1993
#
# 

######################################################################

acctsum - summarize snmp info from Cisco router

# File Name: acctsum.perl
# File Size in BYTES: 4128
# Sender/Author/Poster: 
# Subject: 
# Archived: Jul 23 1993
#
# 

######################################################################

addresses.on.the.LAN.info

# File Name: addresses.on.the.LAN.info
# File Size in BYTES: 4111
# Sender/Author/Poster: Stephane Bortzmeyer 
# Subject: A set of Perl scripts to record addresses on a LAN with SNMP
# Archived: Jun 27 1993
#

# Hello,
# I've just finished a set of Perl scripts which enables the network admini-
# strator to keep tracks of the machines which are active on the LAN. These
# scripts are available on ftp.cnam.fr:pub/CNAM/MISC/record_arp.tar.Z. Here
# 

######################################################################

Re: SUMMARY: Timeout on Connect

# File Name: alarmsocket.pl
# File Size in BYTES: 2158
# Sender/Author/Poster: Tom Christiansen 
# Subject: Re: SUMMARY: Timeout on Connect
# Archived: Apr 6 1993
#
# :There doesn't appear to be a way to make some sort of magic syscall to
# :change the timeouts on the connect function either in C or perl.
# You don't have to use an extra process to zap the connect.  As when
# you're timing out reads, send yourself an alarm.  Here's how I might 

# 

######################################################################

Re: socket-based server (not from inetd)

# File Name: bcast.pl
# File Size in BYTES: 4614
# Sender/Author/Poster: mooring@grimoire.tymnet.com (Ed Mooring)
# Subject: Re: socket-based server (not from inetd)
# Archived: Apr 6 1993
#
# >I would like to develop a long-running daemon that accepts connections
# >via sockets but never spawns.  (i.e. all connections are handled by one
# >program, a lot like INN's innd).
# 

######################################################################

broadcast.on.socket.examp

# File Name: broadcast.on.socket.examp
# File Size in BYTES: 2278
# Sender/Author/Poster: przemek@rrdbartok.nist.gov (Przemek Klosowski)
# Subject: broadcast using CMU-tek
# Archived: Jun 17 1993
#
# We have been using client CMU-tek for some time; now, however, I need
# to write a program to broadcast UDP packets to the network. The idea
# 

######################################################################

chat2.pl - patches, comments, and examples

######################################################################

con.shar

# File Name: con.shar
# File Size in BYTES: 35508
# Sender/Author/Poster: navarra@casbah.acns.nwu.edu (John Navarra)
# Subject: con - user-friendly network connection utility, Part 01/01
# Archived: Jul 1 1993
#
# Recently, my con Perl script appeared in comp.sources.unix. I submitted it
# last year and since then I made some changes. I am posting the new source
# here in comp.lang.perl since I figure anyone interested in this would first
# see it here anyway. If there is sufficient interest, I will resubmit it 
# 

######################################################################

dns/bind tool for perl

######################################################################

dnswalk

# File Name: dnswalk
# File Size in BYTES: 12587
# Sender/Author/Poster: barr@pop.psu.edu (David Barr)
# Subject: dnswalk 1.6 - preliminary announcement
# Archived: Jul 18 1993
#
# 	This is a preliminary (ok, call it beta) release of 1.6.  Please
# report any bugs to me.  You can get dnswalk from:
# ftp.pop.psu.edu:/pub/src/networking/dnswalk.1.6.tar.Z
# 	For those of you unfamiliar with dnswalk, here is the README:
# 

######################################################################

durf.pl

# File Name: durf.pl
# File Size in BYTES: 11154
# Sender/Author/Poster: jimbo@rcx1.ssd.csd.harris.com (Jim Winters)
# Subject: durf: disc usage report formatter
# Archived: Jun 19 1993
#
# durf - disk usage report formatter.
# 

######################################################################

Re: Socket <> Stdin/Stdout

# File Name: easy_ipc.pl
# File Size in BYTES: 35152
# Sender/Author/Poster: mmuegel@cssmp.corp.mot.com (Michael S. Muegel)
# Subject: Re: Socket <> Stdin/Stdout
# Archived: Apr 6 1993
#
# > Also - could someone send me the missing examples from the perl socket code
# > that someone posted. A pointer to a good perl ftp site with some socket stuff
# > would also be appriciated.

# 

######################################################################

easyserv.pl: library and examples

######################################################################

easy_tcp.pl: socket-based server (not from inetd)

# File Name: easytcp.pl
# File Size in BYTES: 23085
# Sender/Author/Poster: mmuegel@cssmp.corp.mot.com (Michael S. Muegel)
# Subject: Re: socket-based server (not from inetd)
# Archived: Apr 6 1993
#
# NAME
#    easy_tcp.pl - easy to use TCP package
# DESCRIPTION
#    Easy to use routines to set up a socket connection for a client (mk_user)
#    and server (mk_server). Get_Connection_Info will return information
# 

######################################################################

fingerall.pl

# File Name: fingerall.pl
# File Size in BYTES: 6631
# Sender/Author/Poster: jsc@monolith.mit.edu (Jin S Choi)
# Subject: fingerall (1/1), a perl script for finding who's logged in
# Archived: Jun 12 1993
#
# Usage: fingerall [-f file] [-i ] [-z]
# fingerall fingers everyone in a file (~/.fingerall by default) every so
# often and reports who logs in and out. Prints a list of people currently
# on upon receiving a SIGUSR1, rereads data file on a SIGUSR2.
# 

######################################################################

fping

# File Name: fping.shar
# File Size in BYTES: 27688
# Sender/Author/Poster: schemers@leland.Stanford.EDU (Roland Schemers)
# Subject: fping
# Archived: Apr 6 1993
#
#       fping is a ping(1) like program which uses the Internet Control
#       Message Protocol (ICMP) echo request to determine if a host is
# 

######################################################################

server.pl and defunct child processes

# File Name: new.server.pl
# File Size in BYTES: 2640
# Sender/Author/Poster: "Joshua R. Poulson" 
# Subject: server.pl and defunct child processes
# Archived: Apr 6 1993
#
# Earlier I asked about  processes and the server.pl in the Camel
# book.  Without too much verbiage, here is my new server.pl:
# 

######################################################################

Replacement Fingerd in Perl

# File Name: newfingerd.pl
# File Size in BYTES: 7831
# Sender/Author/Poster: bir7@leland.Stanford.EDU (Ross Biro)
# Subject: Replacement Fingerd in Perl
# Archived: Aug 8 1993
#
#fingerd.pl
# 	This has probably been done many times before, but I've
# written a fingerd in perl which allows arbitrary applications to
# be launched via a finger command from a remote computer.
# 

######################################################################

snmp.pl network management

# File Name: snmp.pl
# File Size in BYTES: 1873
# Sender/Author/Poster: 
# Subject: 
# Archived: Apr 6 1993
#
# > Does anyone know a way to send SNMP requests from Perl?
# Thanks to all those who searched. It appears there are three solutions:
# - the very last version of Tricklet has a Perl interface. Tricklet is available 
# from dnpap.et.tudelft.nl. The official version (which is a really nice tool to 
# make SNMP request from shell scripts) is in pub/Tricklet/tricklet.1.4.tar.Z. A 
# beta-version (which includes the Perl interface) is in pub/btng/trcklt3b.tar.Z. 
# 

######################################################################

Re: processing telnet output in perl

# File Name: sock.pl
# File Size in BYTES: 11904
# Sender/Author/Poster: dnoble@jpl-devvax.jpl.nasa.gov (David Noble)
# Subject: Re: processing telnet output in perl
# Archived: Apr 6 1993
#
# This opens a telnet connection, attempts to log in as "nobody" with a
# bad password, then leaves the telnet session by sending a CTRL-D.
# Maybe this is a good time for me to release some socket & telnet stuff I've
# been playing with for a while. One library lets you open a socket and returns
# a regular ol' file handle. 
# 

######################################################################

Re: socket-based server (not from inetd)

# File Name: taskmaster.pl
# File Size in BYTES: 5985
# Sender/Author/Poster: khera@cs.duke.edu (Vivek Khera)
# Subject: Re: socket-based server (not from inetd)
# Archived: Apr 6 1993
#
# here's a piece of the Internet Programming Contest judging software I
# wrote last October.  This particular server keeps track of which jobs
# are currently active in the system (it also does the job number
# assignment).
# 

######################################################################

tcpconnect

# File Name: tcpconnect
# File Size in BYTES: 5846
# Sender/Author/Poster: utashiro@sran230.sra.co.jp (Kazumasa Utashiro)
# Subject: Re: How to get the ip-address of socket 0
# Archived: Jul 21 1993
# > I've a little (hopefully) problem setting up an tcp/ip server. The server ist
# > started by inetd an i want to find the ip-address of the machine the client
# 

######################################################################

Re: MORE on getting perl to do a telnet

# File Name: telnet.emul.shar
# File Size in BYTES: 11972
# Sender/Author/Poster: mmuegel@cssmp.corp.mot.com (Michael S. Muegel)
# Subject: Re: MORE on getting perl to do a telnet
# Archived: Apr 6 1993
#
# You are correct about needing to emulate the telnet protocol; however,
# dnoble@jpl-devvax.jpl.nasa.gov (David Noble) posted a couple of
# packages to do just that in Perl.
# Since I did not see it in the coombs.anu.edu.au archive I will repost
# it here. Maybe it can be put in it Mark?
# 

######################################################################

Re: Usage of open2-pkg or chat2-pkg

# File Name: telnet.login.example
# File Size in BYTES: 2531
# Sender/Author/Poster: Tom Christiansen 
# Subject: Re: Usage of open2-pkg or chat2-pkg
# Archived: Oct 5 1993
#

# From the keyboard of schoenf@d24.wu-wien.ac.at (Werner Schoenfeldinger):
# :Dear Programmers,
# :I need to build a telnet-like Interface which connects to a port on a given
# :host and establishes a 2-way connection. The CLIENT-Example program 
# 

######################################################################

Re: SUMMARY: Timeout on Connect

# File Name: timeout.pl
# File Size in BYTES: 7008
# Sender/Author/Poster: mmuegel@cssmp.corp.mot.com (Michael S. Muegel)
# Subject: Re: SUMMARY: Timeout on Connect
# Archived: Apr 6 1993
#
# a followup to a previous question/comment
# 

######################################################################

waitfor.pl: watch for users on other hosts

# File Name: waitfor
# File Size in BYTES: 3997
# Sender/Author/Poster: 
# Subject: 
# Archived: Apr 6 1993
# 

######################################################################

Weather PERL Script

# File Name: weathrep
# File Size in BYTES: 10159
# Sender/Author/Poster: 
# Subject: Weather PERL Script
# Archived: Apr 6 1993
#
# 

######################################################################

websters.client.pl

# File Name: websters.client.pl
# File Size in BYTES: 54202
# Sender/Author/Poster: arf@maths.nott.ac.uk (Anthony Iano-Fletcher)
# Subject: Re: Perl interface to Websters on-line dictionary?
# Archived: Jun 16 1993
# Here is another
# attempt at posting my Webster perl client. Sorry to those that tried it
# and couldnt unpack it.
# 

Comments, suggestions, or criticisms on this archive to:
<wjm@metronet.com> or the original author of the item.
#

mirror server hosted at Truenetwork, Russian Federation.