Hello!
I've run SCKSERV2 and SCKCLI from Frans S.C. Witte on console (SCKSERV2 on one console, SCKCLI on the other one).
Please, advise me,
how I can transmit data from client to server and back? For example, in client side I enter command "d ^some_program", and recieve result in string from server?
Thanks!
---------------------
Regards,
Artem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the simplest case, once you have working code to send strings back and forth, you should be able to Xecute a string on the server.
Also, you may want to look at Mlink (http://sourceforge.net/projects/mlink).
Unless you are in a highly secured environment, you should really be cautious about allowing an arbitrary M entryref or arbitrary M code to be executed. Better to implement an API where the strings sent back and forth are parameters that are validated before execution.
-- Bhaskar
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I've run SCKSERV2 and SCKCLI from Frans S.C. Witte on console (SCKSERV2 on one console, SCKCLI on the other one).
Please, advise me,
how I can transmit data from client to server and back? For example, in client side I enter command "d ^some_program", and recieve result in string from server?
Thanks!
---------------------
Regards,
Artem.
In the simplest case, once you have working code to send strings back and forth, you should be able to Xecute a string on the server.
Also, you may want to look at Mlink (http://sourceforge.net/projects/mlink).
Unless you are in a highly secured environment, you should really be cautious about allowing an arbitrary M entryref or arbitrary M code to be executed. Better to implement an API where the strings sent back and forth are parameters that are validated before execution.
-- Bhaskar
Thanks, Bhaskar!
I've looked MLink. Does it the single instrument, which allow to communicate with the GT.M server from Delphi?
And how I can use Socket code samples - FSCW (http://sourceforge.net/projects/sanchez-gtm) to create my client/server applications?
Thanks!
---------------------
Regards,
Artem.
I am sorry, but I cannot answer either question (and I don't fully understand them). You can try sending e-mail to Roger, the developer of Mlink.
-- Bhaskar