Hi Marcos,
>> I've been trying Dries examples using NT WebSocket clw and js but lack some methods like broadcast and how to handle wss without cryptonite because I'm using my own crypt lib.
Do you have Dries's example then?
I think the equivalent of Dries's "broadcast" is NetTalk's "HostValues". HostValues are like session values, but span across all sessions. So if you update a HostValue then that value is pushed to the client.
But the JS on Dries's end is likely to be completely different, and would likely require a bit of work to change to the current NetTalk stuff.
To replace the Cryptonite code see netWebSocket.clw - you would need to alter the code in there.
Frankly, I think trying to start with Dries's example will likely cause you more pain than it saves. I recommend instead re-building a program, to do the same thing, using the support in NetTalk.
cheers
Bruce