Bazsalanszky@lemmy.toldi.eutoFediverse@lemmy.world•Infinity for Lemmy is now liveEnglish
4·
1 year agoI’m considering implementing kbin support once the “Lemmy part” is in a better shape.
Also, could you update me on the status of the kbin API? Is it not yet available?
This reminds me of one of my older projects. I wanted to learn more about network communications, so I started working on a simple P2P chat app. It wasn’t anything fancy, but I really enjoyed working on it. One challenge I faced was that, at the time, I didn’t know how to listen for user input while handling network communication simultaneously. So, after I had managed to get multiple TCP sockets working on one thread, I thought, why not open another socket for HTTP communication? That way, I could incorporate a fancy web UI instead of just a CLI interface.
So, I wrote a simple HTTP server, which, in hindsight, might not have been necessary.