Hi, No that will hang the system use kernel threads instead, I dont know what exaclty u want to do but see the README and code of net/khttpd inside kernel sources. Thanks Prasanna --- Rakesh Jagota <j.rakesh@xxxxxxxxxxxxx> wrote: > Hi all, > I have TCP server program which I want to write it > as a module. My daubt Can a module block on > accept() function in while-loop. > > Thanks > rakesh > _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/