문제

Before simply answering "use SWIG" or "just write it to a file on disk" read this:

I have a C++ client/server program. The client requests data from the server.

The server generates data and calls various routines to check the data. If all the data is correct, it sends the data via socket to the client.

What I'd like to do is take this raw data (say it was a String type data) and replace my "various routines" with python programs.

To do this, the raw data will be passed to the python programs to be parsed and checked, then they will need to return a pass/fail value to the C++ server.

Any ideas?

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top