Realtime api example in c or c++

Hello,

Does someone know of an example or reference on how to work with realtime api in c or c++?

Thanks