[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sockets: synchronous I/O
"Jens Kramel" wrote...
> the problem is, that I need a (struct file*) to do the poll(..)-call and a
> "kernel socket" returned by sock_create() isn't attached to a file
> (sock->file == NULL). So what now?
sock_map_fd() seems to be what I was looking for
Jens
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/