On Fri, 18 Jul 2003, Marc Ramirez wrote: > I asked this in -questions, but got no response; sorry for the repost. > > I have a device driver that needs to make requests for data from a > userland daemon. What's the preferred method for doing this in 4.8R and > 5.1R? I'm assuming the answer is Unix-domain sockets...
I think you got it backwards. Not that you can't do what you want to do, but it's usually the other way around. Your daemon should listen on the device (blocking ioctl or read) and send data to the device when it is ready for it (using write or ioctl). -- Dan Eischen _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

