I do not fully understand the question. This is just a demo/example program. It calls NDDS_Utility_sleep() because it has nothing else to do and if it was writing data as fast as it could (without sleeping) it would take 100% of the computer CPU and overwhelm the network stack.
A real application would be doing something and only send data using DDS whenever it needs to. Therefore it woud not need to call NDDS_Utility_sleep()...
According to my experience, I think it can be delayed.
I do not fully understand the question. This is just a demo/example program. It calls NDDS_Utility_sleep() because it has nothing else to do and if it was writing data as fast as it could (without sleeping) it would take 100% of the computer CPU and overwhelm the network stack.
A real application would be doing something and only send data using DDS whenever it needs to. Therefore it woud not need to call NDDS_Utility_sleep()...
Gerardo