ok, thanks a lot :) One more query.. can't I directly call sys_bind from a module ? Do I have to write some new bind function, if I want to bind some socket to some Internet address ? Regards, Vasu. On Sun, 5 May 2002, Will Lowe wrote: \|Date: Sun, 05 May 2002 07:57:15 +0530 \|From: Will Lowe <harpo@thebackrow.net> \|To: Vasu <vasu@ee.iitb.ac.in> \|Cc: Avniwb <avniwb@future.futsoft.com>, \| 'linux-net' <linux-net@vger.kernel.org> \|Subject: Re: strtol function \| \|> I was making a module, in which I need to call the function strtol, which \|> is defined in stdlib.h, now I want to compile my module with the kernel \| \|>From http://kernelnewbies.org/documents/kdoc/kernel-api/libc.html: \| \|"When writing drivers, you cannot in general use routines which are \|from the C Library. Some of the functions have been found generally \|useful and they are listed below.' \| \|Looks like you need to use simple_strtol() instead. \| \| -- ------------------------------------------------------------------------\ | Life is a game of Chess, every step and move has to be planned well | in advance, a piece lost takes long to recover.. etc etc | But, there is a difference that game of life NEVER ends in a DRAW. | | ############################################### Compiled by Vasu Singh../ - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html