- Category: Uncategorised
- Published: Monday, 30 November -0001 00:00
- Written by Ken Ewell
- Hits: 2467
Run WebSocket The command to the left ought to open the socket at www.readware.org:9001. Once open it ought to alert that the port is open afterwhich a command is sent (RWGetCollectionIDs?). A subsequent alert ought to divulge the response from the server. If the client-side browser does not support HTML5 Websockets it will alert to that fact. The connection is closed at the end of the script. If the page alerts the connection is closed, then unless the two previous alerts were received, the script failed.