💾 Archived View for gemi.dev › gemini-mailing-list › 000797.gmi captured on 2024-06-16 at 14:36:01. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

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

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

1. Snowy (snowy (a) snowymouse.com)

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

Link to individual message.

---

Previous Thread: [users] New capsule - gemini://capsule.adrianhesketh.com

Next Thread: [TECH] Testing and reviews for HtmGem, Php program to view Gemini through HTTP