in reply to Re: BLOGGING and/or WIKI modules for Dancer2
in thread BLOGGING and/or WIKI modules for Dancer2

Personally, I found Server-sent Events / EventSource much easier as it is unidirectional and has less features/security issues like scanning your internal network.

With both, the server can notify the client of changes and send the changed data.

  • Comment on Re^2: BLOGGING and/or WIKI modules for Dancer2

Replies are listed 'Best First'.
Re^3: BLOGGING and/or WIKI modules for Dancer2
by Your Mother (Archbishop) on Dec 13, 2016 at 16:08 UTC

    Looks wonderful. I am out of the loop. Thanks for mentioning it.

Re^3: BLOGGING and/or WIKI modules for Dancer2
by Anonymous Monk on Dec 14, 2016 at 00:48 UTC

    has less features/security issues like scanning your internal network.

    Hi, whats this now?

      Using WebRTC WebSockets, you can instruct the browser to connect to arbitrary IP addresses within your local network to arbitrary ports and speak arbitrary TCP protocols to it. So you don't even need DNS rebinding but can write and deliver a port scanner in HTML+Javascript.

        From what I can tell WebRTC isnt the same as WebSockets, so, not really seeing the issue :)