message size!!

Thiago Macieira thiago at kde.org
Thu Nov 1 04:14:17 PDT 2007


Em Thursday 01 November 2007 10:47:01 hamdi Srihi escreveu:
> Hi all,
> i need some help!
> when we send a dbus message, we can add arguments and data on it.
> so what is the max size of message sent within dbus??

2 to the power of 27. It says so in the specs. 
(http://dbus.freedesktop.org/doc/dbus-specification.html, search 
for "maximum").

Arrays are limited to 2 to the power of 26 bytes, so you can only reach the 
max message limit if you have more than one (valid) argument.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20071101/29d29d4f/attachment.pgp 


More information about the dbus mailing list