Weekly Challenge #10: Network Programming
I gave this one a try in Erlang, but sadly, the week was too busy to do more than normal mode. To run it, start the server like so:
$ ./src/normal-server 1234
Then start the client:
$ ./src/normal-client localhost 1234
It will print "hello world" backwards, as the client sends "hello world", and the server reverses it and sends it back. Not super impressive, I know, but one of these days I want to come back to this and give hard mode a fair shake!
This code is provided as-is, with no guarantees or promises of support of any kind, implied or otherwise. You may use it however you wish, the sole exception that you may not claim authorship or any kind of financial control over the code.
Jamis Buck email@example.com