> From: David Davis > Subject: Re: Question about Kqueue support in POE > Date: Fri, 01 Oct 2004 08:22:51 -0700
> Well, get started! :) > David Thank you for your reply. I am not an expert in working in XS which would be needed to create an interface to Kqueue.It would take me a long time to figure out how to do it. Believe me, I have tried to write the XS code myself but I got nowhere with it. I guess I could try agian, but it will take me a long time to produce 20 lines of code for an XS wrapper. I do write a lot of open source code, but I know a little C and very little XS, may main area of expertise is in Perl, where I am the most efficient writing code. What needs to be done is a simple interface from Perl to Kqueue with XS, simply allowing the Kqueue API to be accessed from Perl, then it should be a very simple matter for me to write the POE::Loop::Kqueue module in Perl to integrate it into POE. If there is no one that can produce XS wrapper in just a few minutes, perhaps, someone could give me some help on how to write the XS interface myself and answer questions I have. The Kqueue API accepts a pointer to an array of structures. I need to figure out how to convert that into a perhaps a reference to an array of references to perl hashs, and back agian. Here is the Kqueue man page: http://www.FreeBSD.org/cgi/man.cgi?query=kqueue&apropos=0&sektion=0&manpath=FreeBSD+5.2.1-RELEASE+and+Ports&format=html This improvement would benefit a very large number of POE users and greatly increase POEs usefulness and capabilities. Thank you so much for any help you can provide. Respectfully, U. A. R. Ruirarchzatrea _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com
