Proper way to terminate a Web Socket client connection

Imagine I am using the Mongoose networking library and running a Web Server and allowing browsers to connect via Web Sockets. Now imagine my server side wishes to terminate a previously established connection that was initiated by a client. Which of the APIs should I use to terminate that previously established connection?

Comments

Sign In or Register to comment.