Back to General discussions forum
A small hint for fellow Socket Server enthusiasts: use if "sum" in data: ...
instead of if data == "sum": ...
,
and so on.
Oh, hm. We'd better treat this "hint" as a bugreport. I'm very sorry, there remained a small inconsistency after some initial versions of the "client" which tests the server... Fixed now, hopefully. I myself used substring search as you suggest in order to save myself from line endings etc - so missed the issue.
And thanks for your efforts in testing this mini-monster.
This problem has been such a struggle for me. I hope there will be more tasks of this type in the future though. I really liked that one.