Date: Sat, 21 Jun 1997 12:07:21 +0300 (IDT) From: Nadav Eiron <nadav@cs.technion.ac.il> To: Adrian Chadd <adrian@deathstar.ml.org> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: socket redirector Message-ID: <Pine.GSO.3.95-heb-2.07.970621120646.10140B-100000@csd> In-Reply-To: <Pine.LNX.3.96.970620152045.15708A-100000@deathstar.ml.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.GSO.3.95-heb-2.07.970621120646.10140B-100000>