crimson273
crimson273
ok, I've managed to partially figure this one out. I've rewritten the code and now I do have everything I needed. What concerns me is that I don't really understand...
thanks for the tip. the other thing I can't understand is the proper way of expecting new messages to be received. The approach I used in the example below is...
such approach doesn't trigger the `onClose` for some reason. No matter what closed the connection - neither the server I am connecting to nor the scirpt itself through the delayed...