SpiderBasic - WebSocket

Overview

WebSocket is a way to communicate from a JavaScript application to a server, using a stateful connection (ie: always connected). It's similar to regular network socket, but more restricted and needs a specific Web socket server. If you are using PureBasic, you can use this excellent WebSocket server implementation: https://github.com/Dadido3/WebSocket_Server.

Command Index

CloseWebSocket
OpenWebSocket
SendWebSocketData
SendWebSocketString

Example

WebSocket.sb

Supported OS

All

Reference Manual - Index