Virtually the best blog on the web!
Network Programming in the Kernel – my Linux Journal Article
Ok, it’s official. Grab the latest copy of LJ to read our article about network programming in the kernel. Ravi and I explained in pretty good detail on how to create a network connection and read/write data from sockets in the kernel-mode. The sample code shows a basic FTP client that connects to a given IP address and downloads a file. The code can be downloaded from LJ FTP site.
There is, ofcourse always a debate on whether this should be done in the kernel, but I think there are situations, where you may want to do this. I have explained a few reasons in the kernelnewbies thread.
I think the article will be freely available online in LJ archives after a few months. Until then, you can devour the code at LJ download site, if you are not subscribed to LJ.
| Print article | This entry was posted by Pradeep Padala on August 29, 2005 at 11:13 pm, and is filed under Hacking, Open Source. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |