On Wed, 2007-02-07 at 02:38 +0100, ninjaboy wrote: > hello, > > I've just a curiosity, maybe OT here... > Is better to use stdio function (printf, sscanf, fprintf) or directly > write/read on socket? > Sorry for offtopic if i'm offtopic. answer is "depends" stdio provides buffering, so if you do lots of small io's it'll be faster fd based apis are less overhead for large io's, but don't do any buffering at all.. you get what you get -- if you want to mail me at work (you don't), use arjan (at) linux.intel.com Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/