From d61e94e675f663ce4d5181b21b13d8c6859fabd1 Mon Sep 17 00:00:00 2001 From: Paul Morrison Date: Mon, 7 Jun 2021 11:58:56 -0400 Subject: [PATCH] Update README.md --- README.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 09651b1..d37ba79 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,7 @@ The key concept here is that of FBP "substreams", where each substream is delimi **Note:** I have included two client scripts: `chat1.html` (using `ws:`) and `chat2.html` (using `wss:`), in `...\GitHub\javafbp-websockets\src\main\resources\scripts` - see below: **Running a test**. -`chat1` works with the test server (`TestWebSockets.java`), using both Firefox and Chrome as the client browser. - - -`chat2` is not working! - -You may notice a large amount of unused code in the JavaFBP components, esp. in `WebSocketReceive.java`- this is intended for eventual use supporting certificates - help would be appreciated in getting it working! +Unfortunately, the JavaFBP network has to be modified to distinguish between these two cases: the optional port `OPT` on the `WebSocketReceive` component instance has to be specify an IIP (Initial Information Packet) containing the string `"TLS"` to handle the WSS protocol. For Test Status, see below. +- Client script using `ws:` working when `OPT` port is *not* connected to `WebSocketReceive` component - for both Firefox and Chrome browsers +- Client script using `wss:` working when `OPT` port *is* connected to `WebSocketReceive` component and specifies `"TLS"` - for Chrome browser, provided `chrome://flags/#allow-insecure-localhost` is enabled for Chrome. Prerequisites ---