Linux Flame (was Re: HP puts Linux on the desktop)
Gabriel Sechan
gsechan at hotmail.com
Wed Apr 7 19:15:04 PDT 2004
>From: Stewart Stremler <bofh at stremler.net>
>It's part of the OS driver, not the protocol, and it's misnamed, as it
>isn't about keeping the connection alive, it's about killing the
>connection after a timeout.
>
>
To nit pick, keep alives are an optional feature of RFC 1122, section
4.2.3.6.
> > There's several related ioctls and socket options- timeout length and
> > turning timeouts on. Linux has fairly decent support for this, I
>believe.
>
>So, do ioctls run afoul of the "everthing is a file" abstraction, or not?
>
Yes, but its a necessary break. There are things that you need to be able
to do on some types of IO that don't apply on others, and ioctl's provide
that. Take them away, and you'd turn everything is a file into a liability
because it limits you so badly.
Gabe
_________________________________________________________________
Check out MSN PC Safety & Security to help ensure your PC is protected and
safe. http://specials.msn.com/msn/security.asp
More information about the KPLUG-List
mailing list