sending data from python to c# -


i have chart pattern recognition program using neural networks written in python .instead of porting whole code c# ,i decided better send bits indicating following :

buy=1,sell=-1,do nothing=0

once in c-sharp ,i relay them third party program (multicharts) continuously call c# dll function , receive these values after time interval .

my question ,is there way relay these bit's c# , pack of in dll ,which gets read 3rd party program ?

the whole reason want port c# because multicharts reads in dll's , dont think python has them.

sorry being naive ,i don't have grip on c# .

your options follow,

use tcp socket, bind port , listen data in c# while python application sends data it. c# has great features sockets such system.net.tcpclient , system.net.tcpserver.

your other option if c# application needs run once receives information python program , can die, have python program start c# 1 , pass parameters containing information need transmitted.

by looks of question asked if there way communicate, these best two. please let me know if can anymore.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -