WebsocketChat
WebsocketChat copied to clipboard
Currently provider of the server should change the code for chat with someone (not only with himself) after each change of ip address. On programming phase it's not necessary.
Connection address for WebSocket client has been changed from '127.0.0.1' (localhost) to 'window.location.hostname'. This allows the server work property with a non-local clients, right out of the box.