From owner-freebsd-hackers Sun Sep 7 08:02:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA23148 for hackers-outgoing; Sun, 7 Sep 1997 08:02:03 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA23118 for ; Sun, 7 Sep 1997 08:01:41 -0700 (PDT) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id QAA23059; Sun, 7 Sep 1997 16:00:04 +0100 (BST) Message-Id: <199709071500.QAA23059@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Terry Lambert cc: grog@lemis.com (Greg Lehey), doconnor@Ist.flinders.edu.au, freebsd-hackers@FreeBSD.ORG Subject: Re: Divert sockets.. In-reply-to: Your message of "Sun, 07 Sep 1997 14:15:31 -0000." <199709071415.HAA08027@usr09.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 07 Sep 1997 16:00:04 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk [.....] > Or maybe he's like me, and he can't get the thing to idle disconnect > because of the !@#$! keep-alives that are near-impossible to turn > off if you have a local net as well. Hmm. I have a local net of 8 machines, and I don't have any such problems. Of course you know about "set afilter". The thing I don't understand is how re-writing anything is going to solve a problem where people want the link to shutdown subliminally :-) > There are a lot of general uses, besides PPP, for interface event > notification. PPP just uses one of them. Agreed. > In answer to te original question, yes, it's possible, if you are the > packet transporter and use the tunnel devices, just like iijppp, to > let you sleep waiting for a packet "event". But there is no general > event interface, even though it's becoming more and more of a kludge > to not have one (e.g.: say I want to register for a directory change > event because I'm a file browser, and I want to see files show up > immediately, not after 10's of seconds when my poll-the-directory > timer fires off). You've been working w/ Windoze too long !!! You're becoming a heretic ! Perhaps that idea warrants some sort of ability to do a select() on a seekable file. If you've got the O_APPEND flag, select will return when there's more data at the end (tail(1) would be almost perfect). When you haven't got O_APPEND, maybe a file update would wake up the select(). Of course the implementation is trivial ;-I (not) > Terry Lambert > terry@lambert.org > --- > Any opinions in this posting are my own and not those of my present > or previous employers. -- Brian , Don't _EVER_ lose your sense of humour....