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?
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.
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?
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.
Log in to post a comment.