1
Other Plugins / TCP CPython communication
« on: November 10, 2014, 04:23:00 AM »
Hi,
I'm having some problems with IronPython so i want to use CPython.
The idea is to let VC communicate through TCP with CPython.
From a webpage i can send "VC.On\r\n" and in VC i see "VC.ON:" but VC does not turn into green.
Is there more i need to do?
The other question is how to i send from VC if TCP is running as server and not as client?
I think it must be possible cause in my CMD window i receive "OK" after sending the command above - so VC is sending back!?
Notes:
The whole setup is a little more complicated cause i'm using MQTT and Websockets.
But seeing "VC.ON:" in VC means the CPython asynchat/asyncore <-> VC TCP connection works.
I'm having some problems with IronPython so i want to use CPython.
The idea is to let VC communicate through TCP with CPython.
From a webpage i can send "VC.On\r\n" and in VC i see "VC.ON:" but VC does not turn into green.
Is there more i need to do?
The other question is how to i send from VC if TCP is running as server and not as client?
I think it must be possible cause in my CMD window i receive "OK" after sending the command above - so VC is sending back!?
Notes:
The whole setup is a little more complicated cause i'm using MQTT and Websockets.
But seeing "VC.ON:" in VC means the CPython asynchat/asyncore <-> VC TCP connection works.