You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<scripttype="text/javascript">
var socket = new WebSocket('wss://ws.acmcoder.com:3333');
socket.onopen = function(event) {socket.send('I am the client and I\'m listening!');socket.onmessage=function(event){console.log('Client received a message',event);};socket.onclose=function(event){console.log('Client notified socket has closed',event);};//socket.close() };</script>
it displays: (Opcode -1)
By the way, If run the web socket server with Workman, It works.
Setup
OS: Windows 10
browser: chrome
socket.io version: 2.0.3
The text was updated successfully, but these errors were encountered:
@darrachequesne
But Socket.IO also provide WebSocket Server. I have found the succussful wss address when the client use socket.io library. But this address can't connet by other client library.
wss://ws.acmcoder.com:3333/socket.io/?EIO=3&transport=websocket&sid=e_M_bEN6KH8mfw9vAAAA
stackoverflow: https://stackoverflow.com/questions/45433580/why-not-support-standard-client-api
I want to:
Current behaviour
it displays: (Opcode -1)
By the way, If run the web socket server with Workman, It works.
Setup
The text was updated successfully, but these errors were encountered: