Sleep in Solace C API
I need to send multiple messages of about 5mb each. When I send a single message without any sleep, it works fine. When I try to send 10/100/... messages without putting the publisher and subscriber to sleep for about 1 second, the last message is not received.
On printing the stats it says that the socket was filled after send, data buffered.
I want to figure out a way to send a huge quantity of messages without having to put my publisher/ subscriber to sleep for a long time, or even better not have to put them to sleep at all.
Thanks in advance!