[haiku-appserver] Re: communication

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Wed, 08 Jun 2005 14:00:52 +0200 CEST

Stefano Ceccherini <burton666@xxxxxxxxxxx> wrote:
> >the buffer. When we read at the end, the buffer position is >
> > resetted, 
> >and new data from the port is copied into the buffer.
> That would be useful for a thing I just ran into: I can't pass the 
> color_map
> from the server to the client because it's too big. This would solve 
> the
> problem, I think (although maybe we could use an area in this case).

How big is it? If it's less than 64 kB it should work now.
BTW the buffer is flushed when the message is too large automatically - 
just the buffer size was restricted to 2048 bytes.

Bye,
   Axel.


Other related posts: