How to use Web Sockets in my Book Store proj [closed]

This is my CSharp prog, this project is about a Book Store but I attached screenshot of the serverside only.
screenshot of my classes
I want to add web sockets to my project, I dont even know how to start.
https://learn.microsoft.com/en-us/dotnet/api/system.net.sockets.socket?view=net-8.0
I tried to look at this but cant understand how to begin.

In addition,I created a chat that I want to add to it socket funcion to pull from the server detailes and display it inside the chat.
I hope someone can guide me throgh it and help!
Thank you!
Dan