websocketserver
websocketserver runs a WebSocket server on another thread, creating a new thread for each connected client, and exchanges messages with clients as Pd lists or lists of bytes. Use connect <port number> (for example, connect 8080) to start it; when sending, a client ID greater than 0 broadcasts the message to all connected clients.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pdand go toToolsFind Externals. Search forwebsocketserverand install it. Then create an object withdeclare -lib websocketserver -path websocketserver. Finally, usewebsocketserveror any other object fromwebsocketserver. - Available for .