Hello,
I'd like to know if the WS server component can run in a console application under linux.
This server goal will be to receive file chunks (i.e. upload of huge files)
So I want to put your TsgcWSServer in a service (stopped by SIGTERM) along with my handling of those chunks.
My question being : As the run loop in the main thread of this service will be set as something like this :
WSServer.Active := True;
while is_running do
sleep(1000);
WSServer.Active := False;
do you have anything in your server code that makes a GUI requirement mandatory and/or could potentially deadlock because of this constantly sleeping main thread ?
I assume it can work but it cost nothing to ask to be sure !
Any feedback on this will be appreciated. I'm waiting for it to decide a purchase.