"Mihir Sevak" <[EMAIL PROTECTED]> posted [EMAIL PROTECTED], excerpted below, on Tue, 30 May 2006 15:09:18 -0400:
> can anyone guide me how to do TCP/IP multithreading at kernel level??? Well, not kernel level, but take a look at klibido and the (still masked) pan-0.9x packages, for a couple of newsreaders managing multiple connections to multiple servers. PAN's gtk based, klibido is of course kde based. Both are C++ based and have versions later than what's in portage available from their home sites, with source that should prove quite instructive in terms of managing multiple TCP/IP connections to multiple servers at once. There's a simpler but more mature implementation in the older (C based) PAN 0.14.x series, as well. Kernel level full implementations... the only thing I can think of is the old 2.4 kernel based in-kernel Tux webserver. That wasn't carried over to 2.6 kernels as the problems with user-space apache and how it played with the kernel, that had lead to the development of the in-kernel Tux webserver had been alleviated to a large degree by the time of 2.6, and it was considered an abuse of kernel-space for security and policy reasons, so it was dropped from the mainline kernel. Hmm... there is the multipath kernel RAID drivers. I know very little about that and am not sure whether they are or can be TCP based or not, but if so, that would be another partly/mostly kernel based implementation. Connection bonding? That'd be another place to look. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- gentoo-amd64@gentoo.org mailing list