Send/ recieve TCP ASCII commands


I know Open Stage Control is focused on OSC but...

It would be great to be able to send/ recieve simple ascii code from to open stage control. Is this maybe possible with a python script?

Thx and greetings


This won't be implemented in open stage control. It is possible to implement one your self with a custom module written in javascript. Here is a an incomplete example to get started.

var net = require('net'),
    port = 12345,
    tcpServer = net.createServer()

tcpServer.listen(port, function() {
    console.log(`TCP server listening for connection requests on socket localhost:${port}`.);

tcpServer.on('connection', function(socket){
    // follow some "node tcp server" "tutorials to complete this part

module.exports = {
    // read custom module documentation & examples to complete this part

Thx a lot!!