buffer in dbus
thiago at kde.org
Mon Dec 2 07:31:34 PST 2013
On segunda-feira, 2 de dezembro de 2013 10:13:43, pushpat wrote:
> Hi Folks,
> I am trying dbus server-client application, dbus_server sending array of
> structures (100 elements) and dbus_client able to receive all of them except
> 96th element (structure) fully. Structure has one charter string and dbus-
> client not able to receive full string of 96th structure-element.
> Kindly let me know there is way to flush-buffer for every data reception or
> periodically. Or is there any way to debug amount of data reception from
You shouldn't need to do that.
The easiest way I've found to debug issues is to use
strace -s 2048 -e readmsg,writemsg
and read the actual byte stream off the protocol. You should be able to tell
whether the 96th element was sent at all.
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the dbus