[haiku-commits] Re: haiku: hrev46283 - src/kits/network/libnetapi headers/os/net

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 24 Oct 2013 17:48:38 +0200

Am 24/10/2013 17:41, schrieb pulkomandy@xxxxxxxxxxxxx:
    * Remove the fRawData field, as handling it is too complicated (it's
   not easy to have proper copy semantics on a BDataIO) and it's not used
   anyway, as the listener DataReceived call is enough to get the data and
   handle it.

In case it would be interesting to have that field back: You shouldn't have to care about the copy semantics.
The BDataIO in question should do that instead.

For BMallocIO, something similar to how BString is working on Haiku would make sense to implement.

Bye,
   Axel.


Other related posts: