Hungary 🇭🇺🇪🇺

Developer behind the Eternity for Lemmy android app.

@[email protected] is my old account, migrated to my own instance in 2023.

  • 1 Post
  • 10 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle





  • 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.