I found this struct fasync_struct in the socket data-structure(linux/net.h). But I could not locate any routines which can help me wait in this queue so as to wake up whenever there is an event corresponding to the socket. Can someone let me know of what are the available routines or give some pointers as to where I can find them. Thanks, -- -Pradeep ----------------------------------- Let us be the change, we wish to see in this world. --- Mahatma Gandhi ----------------------------------- Pradeep Jagannath pradeep@it.iitb.ernet.in http://www.it.iitb.ernet.in/~pradeep ----------------------------------- -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/