I seemed to have hit a snag.
I've created a program based on the Example Task Manager using WebSockets & SQLite
it sends the info to another program using command line arguments with no issues
However I would like to receive a confirmation that the program received this info.
The program other (windows program) sends the command line with no problem.
Not sure that I understand. Command line arguments can only be used when the program starts. If the program is already running then you cannot send it new arguments.
Thanks Erel,
I figured as much but wasn't sure if there was some way to get around that.
I guess I'll have to look at other ways to get a confirmation.
Maybe read a text file the other program write.
I was hoping for something more direct.
You are running a web server. There are very simple ways to communicate with it. Create a "confirmation" servlet and let the other program send a request to this servlet.
I'm not sure if the other program can do that. However I have it writing a text file from the command line it receives and the web server reads it throwing an Alert that the specified task was implemented.
The server also deletes that file once the Alert dialog is sent.
You are running a web server. There are very simple ways to communicate with it. Create a "confirmation" servlet and let the other program send a request to this servlet.
Using the file read write method works but I'd like to play with this.
Is there a sample that has something like this?
The other program I have in use is written in VB.net And because of some things it can't be reworked to B4J