Apologies up front if this is documented somewhere and I haven't tracked it down.
I'm looking for some advice on integrating non-C++ socket based libraries into my Poco application. I have two third party C-based libraries that I need to integrate into my application. For either of them, I call an initialization function which returns a socket file descriptor. I can then use the fd with select() (or poll()). When the select lights up, the library provides me with a function to call to process data from the socket.
Would you'all recommend that I wrap the library into a SocketImpl class and use the SocketReactor to dispatch the events? That seems like the right thing to do, but it doesn't quite seem to fit.
Can someone point to some example code for someone doing something like this?
Thanks,
-pcaswell





