I'm building an AddOn where i need to share some informations with a service (same machine as Ninja).
For that i'm trying to create a TCP server in this AddOn, and when my service needs, he connect with this TCP server. And this should be as fast as it could (less 1 second), that's why the TCP
The problem is that for some reason the server keeps closing the connection.
I tried to use some libraries for that too (www.zyan.com.de), but without sucess.
If i take the exact same code and run it in a Console application it works.
I have checked that TCP server opens the port (netstat -an) but i don't know why it doesn't work.
So my question is, does Ninja block that kind of operation ?
Or, does anyone have a better option for that ? (Maybe subscribing to MarketData in my service ? Don't know if possible).
Comment