[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Async wake-up in sockets.
* J Pradeep (pradeep@it.iitb.ac.in) wrote:
>
> 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.
do the fcntl cmd's F_SETFL (O_ASYNC) and F_SETOWN (to the
process/process group owner) not help?
cheers,
-chris
--
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/