Good afternoon (or morning... or night?)
Just a quick problem I am having. I'm playing around with SReject's mWebsocket (AWESOME!) trying to get it to connect to [url=wss://irc-ws.chat.twitch.tv][url=wss://irc-ws.chat.twitch.tv][url=wss://irc-ws.chat.twitch.tv]wss://irc-ws.chat.twitch.tv[/url][/url][/url] in order to start learning and playing with websockets. Probably not a great way to come back to mIRC after several year hiatus, but I love to be challenged. In hindsight, I should probably stick to the easier scripting bot stuff of twitch using just mTwitchcore and JSONforMIRC (also by SReject... THANKS DUDE!) but what's the fun in that? Anyway, long story short: can't get it to connect. I get it to handshake and upgrade but when it gets to sending the frameData and frameSEND it ends up closing after a few moments. I searched far and wide - literally - trying to see how I could get it to connect. Not a whole lot of stuff out there on using mIRC with websockets. I even looked at other examples in python and java just to see if I'm just missing something obvious.
Here is my code:
https://pastebin.com/QhNWQHq9Here is my output in WebSocketDebug:
https://pastebin.com/x8m63q7hJust for kicks to see if it's just me screwing it up I went to:
https://www.unrealircd.org/files/dev/ws/websocket_unrealircd.htmland typed in the irc-websock-server for twitch and ended up getting to : RCVD: :tmi.twitch.tv NOTICE * :Improperly formatted auth - as the error message so, it's definitely me.
But yeah any help would be appreciated! Also, it's my first time here and posting so happy scripting everyone!