Try SignalR or maybe SocketIO and see how they do ?
I talked to the best guy I know in networking and he said that
You should not disable ICMP totally, but instead be very careful if changing ICMP at all.
Use WSS (ssl/tls), since routers will let that traffic through
Out of scope, but turning ICMP off = “fake security” maybe solve your issue .
1
solved Xsocket doesn’t work , If router or ISP is preventing ICMP Traffic