Closed sahul360 closed 1 year ago
What's your client version?
"socketcluster-client": "^17.1.0"
You can track connection events on the client via:
(async () => {
for await (const event of socket.listener('connect')) {
console.log('Connected to server', event);
}
})();
I am getting this error while I was doing the below steps in my reactJS application
const socketClusterConfig = { port: 8000, hostname: 'localhost' };