摘要: 转:http://www.linuxforu.com/2011/06/advanced-awk-for-sysadmins/ByVishal Bhatiaon June 1, 2011 inHow-Tos,Sysadmins,Tools / Apps·0 CommentsIn this article, we will discuss advanced Awk functionality, including string- and time-manipulation functions, associative arrays and user-defined functions. 阅读全文
posted @ 2013-12-10 18:36 摩斯电码 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 转:http://www.linuxforu.com/2012/01/joy-of-programming-understanding-bit-fields-c/ByS.G. Ganeshon January 30, 2012 inCoding,Columns·2 CommentsOne important feature that distinguishes C as a systems programming language is its support for bit-fields. Let us explore this feature in this column.In 阅读全文
posted @ 2013-12-10 18:35 摩斯电码 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 转:http://www.linuxforu.com/2012/05/ilinuxbot-designing-botnets-to-manage-linux-clients/ByNishant Sharmaon May 1, 2012 inCoding,Developers·2 CommentsThis article is to encourage newbies to use a little creativity to solve real-world problems. It shows you how to manage a Linux lab, or a lot of L 阅读全文
posted @ 2013-12-10 18:34 摩斯电码 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 转:http://www.linuxforu.com/2011/12/socket-api-part-5-sctp/ByPankaj Tanwaron December 29, 2011 inCoding,Developers·11 CommentsThis article on socket programming deals with the Stream Control Transmission Protocol (SCTP).Similar to TCP and UDP, SCTP provides some features of both. It is message-o 阅读全文
posted @ 2013-12-10 18:33 摩斯电码 阅读(512) 评论(0) 推荐(0) 编辑
摘要: 转:http://www.linuxforu.com/2011/11/socket-api-part-4-datagrams/ByPankaj Tanwaron November 1, 2011 inCoding,Developers·0 CommentsLet’s try to develop server clients using UDP, the protocol behind some important services like DNS, NFS, etc.UDP, the User Datagram Protocol, is a connectionless prot 阅读全文
posted @ 2013-12-10 18:32 摩斯电码 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 转:http://www.linuxforu.com/2011/10/socket-api-part-3-concurrent-servers/ByPankaj Tanwaron October 1, 2011 inCoding,Developers·2 CommentsIn this part of theseries, we will learn how to deal with multiple clients connected to the server.Welcome to another dose of socket programming! Till now, we’ 阅读全文
posted @ 2013-12-10 18:31 摩斯电码 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 转:http://www.linuxforu.com/2011/09/creating-your-own-server-the-socket-api-part-2/ByPankaj Tanwaron September 1, 2011 inCoding,Developers·0 CommentsEarlier,we created a simple server and client program using the socket API. This time, we’ll first start with a program, and then explain what’s go 阅读全文
posted @ 2013-12-10 18:29 摩斯电码 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 转:http://www.linuxforu.com/2011/08/creating-your-own-server-the-socket-api-part-1/ByPankaj Tanwaron August 1, 2011 inCoding,Developers·2 CommentsIn thisseries of articlesaimed at newbies to network programming (knowledge of C is a prerequisite), we’ll learn how to create network clients and ser 阅读全文
posted @ 2013-12-10 18:28 摩斯电码 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 转:http://www.linuxforu.com/2012/01/working-with-mtd-devices/Working with MTD DevicesByMohan Lal Jangiron January 31, 2012 inCoding,Developers·6 CommentsThis article shows how kernel and application developers (in C) can make use of MTD in Linux.MTD (Memory Technology Devices) are NAND/NOR-based 阅读全文
posted @ 2013-12-10 18:16 摩斯电码 阅读(588) 评论(0) 推荐(0) 编辑
摘要: 转:http://blog.csdn.net/zhouzhuan2008/article/details/11053877目录MTD总概述MTD数据结构MTD相关层实现MTD,Memory Technology Device即内存技术设备字符设备和块设备的区别在于前者只能被顺序读写,后者可以随机访问;同时,两者读写数据的基本单元不同。字符设备,以字节为基本单位,在Linux中,字符设备实现的比较简单,不需要缓冲区即可直接读写,内核例程和用户态API一一对应,用户层的Read函数直接对应了内核中的Read例程,这种映射关系由字符设备的file_operations维护。块设备,则以块为单位接受输 阅读全文
posted @ 2013-12-10 18:10 摩斯电码 阅读(2633) 评论(0) 推荐(0) 编辑