How can I send and receive WebSocket messages on the server side?

Note: This is some explanation and pseudocode as to how to implement a very trivial server that can handle incoming and outcoming WebSocket messages as per the definitive framing format. It does not include the handshaking process. Furthermore, this answer has been made for educational purposes; it is not a full-featured implementation. Specification (RFC 6455) … Read more

How do I create my own URL protocol? (e.g. so://…) [closed]

The portion with the HTTP://,FTP://, etc are called URI Schemes You can register your own through the registry. HKEY_CLASSES_ROOT/ your-protocol-name/ (Default) “URL:your-protocol-name Protocol” URL Protocol “” shell/ open/ command/ (Default) PathToExecutable Sources: https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml, http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx