From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,c575f912aeef75d5,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1994-12-01 11:13:58 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!pipex!sunic!news.funet.fi!hydra.Helsinki.FI!news.helsinki.fi!not-for-mail From: thoth@cis.ufl.edu (Robert Forsman) Newsgroups: comp.os.linux.announce Subject: Netpipes version 2.1 now available for Linux Followup-To: comp.os.linux.misc Date: 1 Dec 1994 20:04:43 +0200 Organization: Church of Homogeneous Foods (Rev. Forsman founder) Sender: wirzeniu@cc.Helsinki.FI Message-ID: <3bl37r$d8i@kruuna.Helsinki.FI> NNTP-Posting-Host: kruuna.helsinki.fi Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Keywords: pipes,tcp,stream,client,server Imagine my frustration when I discovered my own package didn't work on my home machine. There's probably some kernel bug that doesn't appreciate when you call listen() with 256 pending connections. So, I discarded NOFILE and hardcoded 8 (harmless enough number). Now it works so I called it 2.1. Here's the announcement I used for comp.unix.sources: netpipes is a pair of programs designed to connect any process to a TCP/IP stream socket. faucet is a server program which listens on a port and forks processes for each connection. hose is a one-shot program which connects a process to a server. e.g. % faucet 2591 -out $NETREKDIR/list-players % faucet 2590 -in -out $NETREKDIR/highscore-interactive.perl % faucet 3000 -foreignhost aviator.cis -in xpipe -noauto % hose cairo.eng 3000 -out tail +0f make.log % hose metaserver.ecst.csuchico.edu 3521 -in grep 'P$' and here's an LSM (thank you Lars) Begin3 Title: netpipes Version: 2.1 Entered-date: 28NOV94 Description: Two utilities to connect processes to TCP/IP streams. Faucet is a server and forks a process for every connection it recieves (see listen(2) and accept(2)). Hose is a one-shot client designed to connect a process to a server (see connect(2)). Keywords: pipes,tcp,stream,client,server Author: thoth@cis.ufl.edu (Robert Forsman) Maintained-by: thoth@cis.ufl.edu (Robert Forsman) Primary-site: ftp.cis.ufl.edu /pub/staff/thoth/ 15K netpipes2.1.tar.gz Platforms: SunOS 4.1.3, Linux, (has worked on Ultrix and RS6K in earlier revs) Copying-policy: GPL End -- Eat now this hot-dog with ketchup, flesh of his flesh, blood of his blood. Supercalafragalisticextrasacreligious I deal with Reality as you _don't_ understand it. blah = realloc(blah, sizeof(*blah)*(blahsize*=2)); /* (TM) */ -- Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu PLEASE remember Keywords: and a short description of the software.