diff --git a/README.md b/README.md index 99800eb..c50fa9e 100644 --- a/README.md +++ b/README.md @@ -31,4 +31,7 @@ ## 注意 -リモートホストで実行している ```SimpleWebSocket``` サーバに接続するには、```wschat.html``` を編集して、WebSocket 接続先のホストとポート番号を指定する必要があります。 \ No newline at end of file +リモートホストで実行している ```SimpleWebSocket``` サーバに接続するには、```wschat.html``` を編集して、WebSocket 接続先のホストとポート番号を指定する必要があります。 + +> let wshost = 'localhost'; // WebSocketサーバのホスト名またはIPアドレス +> let portNum = 8887; // WebSocketサーバのポート番号 \ No newline at end of file diff --git a/wschat.html b/wschat.html index fa10ffa..1853f04 100644 --- a/wschat.html +++ b/wschat.html @@ -19,6 +19,7 @@