Socket Server hint

Back to General discussions forum

gardengnome     2024-06-22 13:08:27
User avatar

A small hint for fellow Socket Server enthusiasts: use if "sum" in data: ... instead of if data == "sum": ..., and so on.

Rodion (admin)     2024-06-22 14:04:30
User avatar

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.

ecolog_veteran     2024-06-22 20:03:16
User avatar

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.

Please login and solve 5 problems to be able to post at forum