[haiku-development] Re: Plan for NetServices Kit (v2)

  • From: "Alexander G. M. Smith" <agmsmith@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 30 Aug 2021 12:21:29 -0400

On 2021-08-30 11:55 a.m., Adrien Destugues wrote:
> There aren't any reasons to use this specific API outside of C++ code. You can use curl or some already
> existing support in the language and toolkit you're using.

Good point.  Ruby Gems will have been built to use OpenSSL and other existing libraries anyways.

> The main concern here is to have something that is easy to use in BeAPI based applications, and solving
> the problem of converting the events from socket select/poll to BMessages. If you are not in that case,
> the existing libraries will probably do a better job.

I had a look at https://github.com/nielx/haiku-netservices-rfc and it seems fine - I like the use of BMessages for notifications.

Uploads are a bit limited, or is that implied functionality?  Peer to peer isn't implemented (though a separate BitTorrent client makes more sense than cluttering the API).

Should anything be done for IPFS support (https://en.wikipedia.org/wiki/InterPlanetary_File_System) or just rely on HTTP gateways?

- Alex

Other related posts: