Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 1997 19:02:58 -0700 (PDT)
From:      Jaye Mathisen  <mrcpu@cdsnet.net>
To:        Nadav Eiron <nadav@cs.technion.ac.il>
Cc:        Adrian Chadd <adrian@deathstar.ml.org>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: socket redirector
Message-ID:  <Pine.NEB.3.95.970624190247.26020m-100000@mail.cdsnet.net>
In-Reply-To: <Pine.GSO.3.95-heb-2.07.970621120646.10140B-100000@csd>

next in thread | previous in thread | raw e-mail | index | archive | help

Or netcat out of ports.  It would probably work fine as well.

On Sat, 21 Jun 1997, Nadav Eiron wrote:

> 
> 
> On Fri, 20 Jun 1997, Adrian Chadd wrote:
> 
> > Hey guys.
> > 
> > I'm writing a quick socket redirector for something. Its run out of inetd,
> > and basically opens a socket somewhere and acts as a pipe between the two.
> > I'm using select(), and its working fine. The only problem I'm having is
> > that I don't know how to tell when the remote end closes the connection
> > down, so that I can just close everything down, and quit.
> > 
> > Any ideas on how I'd do this?
> 
> Why not just use plug-gw from the fwtk? From your description it sounds
> like just the thing you need.
> 
> > 
> > Thanks,
> > 
> > -- 
> > Adrian Chadd			| "Unix doesn't stop you from doing
> > <adrian@psinet.net.au>		|   stupid things because that would 
> > 				|    stop you from doing clever things"
> > 
> > 
> > 
> Nadav
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970624190247.26020m-100000>