Yeah I used to suck with websockets a lot before I could get them right, there are still horrors in parts of the code that hasn't been touched in a while.
But, in my defense AI sucks at it too 😂 , you really have to understand what's going on at the connection level, libraries abstract it and you keep making stupid mistakes.