request

Data sporadically not arriving (Request Reply)

I tried the Request-Reply-Example which is in the C++ example folder of RTI 5.1.0.

If I use the Requester in a command window (Ubuntu 12.04) and the Replier in another command windows on the same machine,

the Requester sporadically (can be the second time or the 20. time I send a request) doesn't get the data from the Replier. But the Replier gets the request and says that he replied (in the command window).

 

Send String Arrays using Dynamic Data and Request-Reply pattern

Hello,

I am a bit new to DDS. I am curently working with the request/reply pattern. I successfully managed to send requests and replies containing primitive types of data such as char, long, int, etc. What I am not trying to do is sending some string array with the request reply pattern and using Dynamic Data as the string array I'm trying to send must be custom made. Until now I managed to do something like this:

 

//Register the type support for creating string arrays

DDS_TypeCode* type = factory->create_struct_tc("MyType", structMembers, out_exc);

Subscribe to RSS - request