💾 Archived View for rawtext.club › ~sloum › geminilist › 005982.gmi captured on 2023-09-08 at 17:08:54. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

<-- back to the mailing list

[tech] Working on a simple C++ server library

Snowy snowy at snowymouse.com

Sat Mar 6 21:44:07 GMT 2021

- - - - - - - - - - - - - - - - - - - 

Hello!

I'm working on a C++ server library, mousygem. It's not a standalone server but rather a library for writing servers. It handes sockets, (most) OpenSSL functions, receiving/parsing URIs, and formatting/sending responses to clients.

I've just started on it about a couple days ago, but I think it's in a state where I can show it off a little bit. You can write a basic server that echos "Hello world" to the client in 31 lines of code or less with this.

https://github.com/SnowyMouse/mousygem

I'm still very new to working with OpenSSL's C API, so this has been quite a journey so far! I've also still got a lot of work to do with this, especially in regards to better handling client certificates, but I'm probably going to start using it for my blog and seeing how well that goes.

Many thanks,Snowy