B4J Question Recieving Commandline Arguments

tuicemen

Member
Licensed User
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.:confused:
 

tuicemen

Member
Licensed User
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.:rolleyes:
I was hoping for something more direct.
 

tuicemen

Member
Licensed User
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.
 

tuicemen

Member
Licensed User
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
 

tuicemen

Member
Licensed User
Ok that should work, it will do that I believe already.
Is there a sample of a server receiving that I can play with?
 
Top