Can Anyone build web socket extension

Ive searched a lot of posts but i didnt find what im looking for
i need to setup web socket in my shared hosting where if i send any data from one user to another , the another device should get trigger instantly, just like firebase data changed block,and it should send in 2 values like tag and value so that i can send it to particular user

im ready to pay

Try built-in component socket io

i tried but i dont know how to setup it in my shared hosting
i tried a lot
nothing worked forme