Server

Writing WebSocket servers (1 of 2)

Let’s start listening… …listening for incoming socket connections. This is the very first thing that every server should do and to avoid potential problems with firewalls/proxies, let’s use the standard port 80. So, what else should our WebSocket server be able to do? respond to the handshake request (GET) receive and send messages extract frames keep track of clients respond to Pings and Pongs

Continue reading