oandreassen

Results comments of oandreassen

From our Socket.IO Server: ``` public use(server: SocketIO.Server): void { let self = this; this._namespace = server.use(this.onRequest.bind(this)); // ... } private onRequest(socket: SocketIO.Socket, next: (error: Error) => void): void {...

Yes sir! But the point is, socket.io have a server.use method which can be used to authenticate incoming calls. I would like to refer you to the socket.io documentation but...

We dont actually use any callback here, its just a additional header that is passed upon connect. If the authentication fails the client is disconnected - there is no additional...

@getnamo thats exactly what I'm looking for

Thank you very much! Keep up the awesome work!11!

Seems to be related to if the socket-server is responding or not (sometimes it is caught in a breakpoint)

It dosent happen when I manually connect (so far). it does however happen when I hit a breakpoint in the server and wait too long before releasing it (5-10 seconds).

Having a breakpoint in the socket.io server while disconnecting the client (clicking on stop) crashes the editor every time.

Tested using 4.15. Setting breakpoints anywhere in the server while the game is active seems to be working fine. Having a break point (paused execution) on the server while clicking...