maintainer=mailto:wjm@metronet.com Text= ###################################################################### EndText= Name=Re: perl code to listen/connect/etc to unix domain sockets .. Path=0/perlinfo/scripts/netstuff/clients.and.servers.AF.UF Type=0 Text=
# 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....
# 
EndText= Text= ###################################################################### EndText= Name=Re: Running a Perl net-server under inetd Path=0/perlinfo/scripts/netstuff/getpeer.q.and.a Type=0 Text=
# 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);'
# 
EndText= Text= ###################################################################### EndText= Name=Re: How to find if there's something on a Sock Path=0/perlinfo/scripts/netstuff/multiplex.sockets.example Type=0 Text=
# 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?  
# 
EndText= Text= ###################################################################### EndText= Name=Re: Remote perl scripts Path=0/perlinfo/scripts/netstuff/muxrsh.pl.new Type=0 Text=
# 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
# 
EndText= Text= ###################################################################### EndText= Name=Re: pack/unpack question Path=0/perlinfo/scripts/netstuff/packing.and.unpacking.addresses.and.vec Type=0 Text=
# 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?
# 
EndText= Text= ###################################################################### EndText= Name=s2func.pl (Convert structures to network data and back) Path=0/perlinfo/scripts/netstuff/s2func.pl Type=0 Text=
# 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!
# 
EndText= Text= ###################################################################### EndText= Name=Re: perl code to listen/connect/etc to unix domain sockets .. Path=0/perlinfo/scripts/netstuff/socket.library Type=0 Text=
# 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:
# 
EndText= Text= ###################################################################### EndText= Name=Yet another friendly socket library + test code for Larry Path=0/perlinfo/scripts/netstuff/sockets.pl Type=0 Text=
# 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.
# 
EndText= Text= ###################################################################### EndText= Name=Re: Sockets and stuff question... Path=0/perlinfo/scripts/netstuff/tcp.wrappers.new Type=0 Text=
# 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.
# 
EndText= Text= ###################################################################### EndText= Name=SNMPerl (Requires CMU SNMP package) Path=0/perlinfo/scripts/netstuff/SNMPerl Type=0 Text=
# 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.
# 
EndText= Text= ###################################################################### EndText= Name=SO-KEEPALIVE.example Path=0/perlinfo/scripts/netstuff/SO-KEEPALIVE.example Type=0 Text=
# 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
#
# 
EndText= Text= ###################################################################### EndText= Name=acctsum - summarize snmp info from Cisco router Path=0/perlinfo/scripts/netstuff/acctsum.perl Type=0 Text=
# File Name: acctsum.perl
# File Size in BYTES: 4128
# Sender/Author/Poster: 
# Subject: 
# Archived: Jul 23 1993
#
# 
EndText= Text= ###################################################################### EndText= Name=addresses.on.the.LAN.info Path=0/perlinfo/scripts/netstuff/addresses.on.the.LAN.info Type=0 Text=
# 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
# 
EndText= Text= ###################################################################### EndText= Name=Re: SUMMARY: Timeout on Connect Path=0/perlinfo/scripts/netstuff/alarmsocket.pl Type=0 Text=
# 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 

# 
EndText= Text= ###################################################################### EndText= Name=Re: socket-based server (not from inetd) Path=0/perlinfo/scripts/netstuff/bcast.pl Type=0 Text=
# 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).
# 
EndText= Text= ###################################################################### EndText= Name=broadcast.on.socket.examp Path=0/perlinfo/scripts/netstuff/broadcast.on.socket.examp Type=0 Text=
# 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
# 
EndText= Text= ###################################################################### EndText= Name=chat2.pl - patches, comments, and examples Path=1/perlinfo/scripts/netstuff/chat2 Type=1 Text= ###################################################################### EndText= Name=con.shar Path=0/perlinfo/scripts/netstuff/con.shar Type=0 Text=
# 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 
# 
EndText= Text= ###################################################################### EndText= Name=dns/bind tool for perl Path=1/perlinfo/scripts/netstuff/dns.bind Type=1 Text= ###################################################################### EndText= Name=dnswalk Path=0/perlinfo/scripts/netstuff/dnswalk Type=0 Text=
# 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:
# 
EndText= Text= ###################################################################### EndText= Name=durf.pl Path=0/perlinfo/scripts/netstuff/durf.pl Type=0 Text=
# 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.
# 
EndText= Text= ###################################################################### EndText= Name=Re: Socket <> Stdin/Stdout Path=0/perlinfo/scripts/netstuff/easy_ipc.pl Type=0 Text=
# 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.

# 
EndText= Text= ###################################################################### EndText= Name=easyserv.pl: library and examples Path=1/perlinfo/scripts/netstuff/easyserve Type=1 Text= ###################################################################### EndText= Name=easy_tcp.pl: socket-based server (not from inetd) Path=0/perlinfo/scripts/netstuff/easytcp.pl Type=0 Text=
# 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
# 
EndText= Text= ###################################################################### EndText= Name=fingerall.pl Path=0/perlinfo/scripts/netstuff/fingerall.pl Type=0 Text=
# 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.
# 
EndText= Text= ###################################################################### EndText= Name=fping Path=0/perlinfo/scripts/netstuff/fping.shar Type=0 Text=
# 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
# 
EndText= Text= ###################################################################### EndText= Name=server.pl and defunct child processes Path=0/perlinfo/scripts/netstuff/new.server.pl Type=0 Text=
# 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:
# 
EndText= Text= ###################################################################### EndText= Name=Replacement Fingerd in Perl Path=0/perlinfo/scripts/netstuff/newfingerd.pl Type=0 Text=
# 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.
# 
EndText= Text= ###################################################################### EndText= Name=snmp.pl network management Path=0/perlinfo/scripts/netstuff/snmp.pl Type=0 Text=
# 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. 
# 
EndText= Text= ###################################################################### EndText= Name=Re: processing telnet output in perl Path=0/perlinfo/scripts/netstuff/sock.pl Type=0 Text=
# 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. 
# 
EndText= Text= ###################################################################### EndText= Name=Re: socket-based server (not from inetd) Path=0/perlinfo/scripts/netstuff/taskmaster.pl Type=0 Text=
# 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).
# 
EndText= Text= ###################################################################### EndText= Name=tcpconnect Path=0/perlinfo/scripts/netstuff/tcpconnect Type=0 Text=
# 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
# 
EndText= Text= ###################################################################### EndText= Name=Re: MORE on getting perl to do a telnet Path=0/perlinfo/scripts/netstuff/telnet.emul.shar Type=0 Text=
# 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?
# 
EndText= Text= ###################################################################### EndText= Name=Re: Usage of open2-pkg or chat2-pkg Path=0/perlinfo/scripts/netstuff/telnet.login.example Type=0 Text=
# 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 
# 
EndText= Text= ###################################################################### EndText= Name=Re: SUMMARY: Timeout on Connect Path=0/perlinfo/scripts/netstuff/timeout.pl Type=0 Text=
# 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
# 
EndText= Text= ###################################################################### EndText= Name=waitfor.pl: watch for users on other hosts Path=0/perlinfo/scripts/netstuff/waitfor Type=0 Text=
# File Name: waitfor
# File Size in BYTES: 3997
# Sender/Author/Poster: 
# Subject: 
# Archived: Apr 6 1993
# 
EndText= Text= ###################################################################### EndText= Name=Weather PERL Script Path=0/perlinfo/scripts/netstuff/weathrep Type=0 Text=
# File Name: weathrep
# File Size in BYTES: 10159
# Sender/Author/Poster: 
# Subject: Weather PERL Script
# Archived: Apr 6 1993
#
# 
EndText= Text= ###################################################################### EndText= Name=websters.client.pl Path=0/perlinfo/scripts/netstuff/websters.client.pl Type=0 Text=
# 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.
# 
EndText= Text=
Comments, suggestions, or criticisms on this archive to:
<wjm@metronet.com> or the original author of the item.
#
EndText=