Kismet Wireless

Kismet Forums

 

Posted by:dragorn
Subject:packet source without file descriptor
Date:06:16:47 27/07/2009

> I'm working on a new packet source in a server plugin and ran into a small problem. I would like Poll() to directly call userspace code that does not require a file descriptor, but it seems that Poll() never gets called unless FetchDescriptor() returns a valid file descriptor. Is there an easy way around this? Thanks!

Nothing comes to mind, unfortunately. select() is deeply ingrained in how kismet expects things to happen. you could try to fake it with a pipe you manually raise hot, though that's really really ugly.

-m


Reply to this message