[Sc-devel] Re: OSCBundle vs MixedBundle
felix
felix at crucial-systems.com
Sun Jul 29 14:51:59 PDT 2007
I have to pipe up again about this. To be clear:
sc lang is broken. it does not send bundles larger than 20,000, and
it does not fail or raise an error.
the primitive should be fixed, but I don't have time.
the example code that shows the break is in the CommonTesting quark
(the bundle size is too large to post to the list).
NetAddr.test
I posted a fix to the language (not the primitive) that will avoid
running into the error, but I'm not sure what the exact number is.
Its not as high as 65515, its more like 20000
should I just commit the 20000 number ? at least then everything will work.
-cx
On 7/25/07, felix <felix at crucial-systems.com> wrote:
> I'm not sure who else if anybody is familiar with the
> _NetAddr_sendBundle OSC primitive.
>
> I looked at the source and its not too easy to get it to notice the
> error and throw a primitive failed.
>
> In any case the 65515 bundleSize limit in NetAddr:sync is too big and
> needs to be reduced to aprox 20000, but we need to know the real
> number.
>
> -cx
>
> On 7/20/07, felix <felix at crucial-systems.com> wrote:
> > NetAddr:sync
> >
> > if(bundles.bundleSize > 20000/*65515*/) { // 65515 = 65535 - 16 -
> > 4 (sync msg size)
> >
> > and my whole world functions once again.
> >
> > btw. I am using the binary downloaded from sourceforge but with the
> > latest svn class lib.
> >
> > -cx
> >
>
More information about the Sc-devel
mailing list