Add server-side flag-based thread stopping with socket timeouts

This commit is contained in:
Xevion
2022-06-12 16:03:31 -05:00
parent 66dd219b78
commit 8537eeced6
2 changed files with 50 additions and 26 deletions

View File

@@ -1,5 +1,11 @@
class TCPChatException(BaseException):
pass
class DataReceptionException(TCPChatException):
pass
class StopException(TCPChatException):
"""An exception that occurs when a thread finds a stop flag."""
pass