Let me write the library in C, and then you can write wrappers in C++
around my routines. I think that will be the most flexible solution. I
doubt callbacks will be necessary -- this is exactly what I want to avoid.
Instead, I'll provide routines that you can call when an event has
happened on a file descriptor, so you do select() or poll() on the
appropriate socket (since it's UDP there will be only one) and then you
will call some routines that will see what actually happened and maybe
return a frame or something.
Mark
-------------------------------------------------------------------------
Mark Spencer, President Free and Commercial Linux Support
Linux Support Services, LLC On the web or on the phone
923 Stage Road Suite F
Auburn, AL 36830 http://www.linux-support.net
(334) 887-1042 staff@linux-support.net
Toll free: (877) LINUX-ME
Let me write the library in C, and then you can write wrappers in C++
around my routines. I think that will be the most flexible solution. I
doubt callbacks will be necessary -- this is exactly what I want to avoid.
Instead, I'll provide routines that you can call when an event has
happened on a file descriptor, so you do select() or poll() on the
appropriate socket (since it's UDP there will be only one) and then you
will call some routines that will see what actually happened and maybe
return a frame or something.
Mark
As I have some problems to understand the protocol implementation, I also
prefer that you write the library.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum