Quote:
Originally Posted by ReymonARG
Because I want to download a config file from a command, and if the file is ok, respond to that rcon.
Now I am using curl, but I don't want to use more, because I also using this for some other respond without blocking, but that I need to block the server and wait if all is ok.
|
Set the context value on the http request to be the client serial and reply source, when the request comes back, use SetCmdReplySource and GetClientFromSerial and it's like they never left. There should also be a timeout native so you can keep it relatively tight, but there's absolutely no reason to block the game frame for this.