From: Anthony G. <gr...@sp...> - 2004-04-22 08:40:58
I'm using ByteBufferRef args for a remote procedure call.
Does OpenTNL limit the size of these buffers when used as arguments?
For instance, I've doing four calls with buffer sizes 6935, 336, 114 and
2904024. Only the 336 and 114 byte buffers appear to make it through
the RPC.
Thanks,
AG
From: Anthony G. <gr...@sp...> - 2004-04-22 15:12:36
On Thu, 2004-04-22 at 01:40, Anthony Green wrote:
> I'm using ByteBufferRef args for a remote procedure call.
>
> Does OpenTNL limit the size of these buffers when used as arguments?
Ok, poking through the code I see this in tnlBitStream.h:
/// Writes a ByteBuffer into the stream. The ByteBuffer can be no
larger than 1024 bytes in size.
bool write(const ByteBuffer *theBuffer);
So.. is there an example somewhere of sending a larger amount of data
using OpenTNL? The RPC mechanism was really convenient :-(
AG
Right now the RPC size is limited to less than the maximum size of a
packet, since 1 RPC = 1 RPCEvent. What I'd like to do at some point is
have the RPC code break up the packed data into chunks, if the total
size is greater than some threshold (say 512 bytes), and then reassemble
those chunk events on the remote side.
Anthony Green wrote:
>On Thu, 2004-04-22 at 01:40, Anthony Green wrote:
>
>
>>I'm using ByteBufferRef args for a remote procedure call.
>>
>>Does OpenTNL limit the size of these buffers when used as arguments?
>>
>>
>
>Ok, poking through the code I see this in tnlBitStream.h:
>
> /// Writes a ByteBuffer into the stream. The ByteBuffer can be no
>larger than 1024 bytes in size.
> bool write(const ByteBuffer *theBuffer);
>
>So.. is there an example somewhere of sending a larger amount of data
>using OpenTNL? The RPC mechanism was really convenient :-(
>
>AG
>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>_______________________________________________
>Opentnl-general mailing list
>Ope...@li...
>https://lists.sourceforge.net/lists/listinfo/opentnl-general
>
>