Skip to content

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 Pd and go to ToolsFind Externals. Search for websocketserver and install it. Then create an object with declare -lib websocketserver -path websocketserver. Finally, use websocketserver or any other object from websocketserver.

  • Available for .

Similar


    Comments

    Contributors