[Update] WebSocket configuration: Change host to 127.0.0.1 and port to 2231; refactor WebSocket server initialization and message handling

This commit is contained in:
misyaguziya committed 2025-05-18 15:20:27 +09:00
1 parent ed5ebcee90
commit e7304247c7
4 files changed
+88 -44

No files matched your search

@@ -14,7 +14,7 @@ class WebSocketServer:
- メッセージのブロードキャスト機能
- GUIスレッド等からメッセージ送信するためのキュー
"""
def __init__(self, host: str='localhost', port: int=8765):
def __init__(self, host: str='127.0.0.1', port: int=8765):
"""
サーバーのホスト名とポートを指定して初期化します。
"""