mirror of
https://github.com/Xevion/tcp-chat.git
synced 2025-12-06 05:16:45 -06:00
Add server-side flag-based thread stopping with socket timeouts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user