A network programming challenge

I recently read this and wrote a response to it:

Here’s my response, with an implementation of a simple server:

The challenge is to write a UDP server that does something basic to each packet to form its response. Since I have a nice UDP package, I thought it would be fun to participate. This is the first time I’ve used tasks, and I had to relearn a lot about them while writing this.

So, that’s all, just something I did yesterday.

If you’re looking for more stuff like this, the Protohackers challenges are fun to work through.

1 Like