rpc mechanism to use with select driven daemon
===

I want to add an RPC service to my unix daemon.  The daemon is written in C and has an event driven loop implemented using select().  I've looked at a number of RPC implementations but they all seem to involve calling a library routine, or auto generated code, which blocks indefinitely.

Are there any RPC frameworks out there where the library code/autogenerated code doesn't block or start threads.  Ideally, I'd like to create the input/output sockets myself and pass them into my select loop.

Regards,

Alex - first time poster! :-)