Hey Dan,
Example:hr = TF_SaveServer(tfHandle, _T("123.123.123.123"), 4848, TF_USER);Works just fine if the TF-Server runs on localhost. Is it meant to be like that?
No. Make sure the TF_SaveServer() actually saves the server and not just ignores whatever you input (and thus keeping whatever previous server address/port you input). Look at the return code for the function.
However, if I'm running the TF-Server on a different computer, TF_SaveServer() returns TF_OK, but TF_RequestLease() returns code 4 - "Connection to the TurboFloat server failed" (of course I used the correct IP/Port in this case). Any ideas?
Did you install the TurboFloat Server using the -i commandline switch or are you running it from commandline (-x)?
If you installed it then everything is setup as far as Windows Firewall is concerned (allowing outgoing connections, etc.). However, that doesn't take into account (1) other firewalls on the computer or between the 2 computers (2) firewalls on the "client machine" (3) firewalls / proxies on the routers / switches and (4) general intranet misconfiguration.
Doesn't that mean that the customer could use our app for 90+14 more days (worst case) after the license expired?
No. There are max values: http://wyday.com/limelm/help/turbofloat-server/#config-isgenuine
And the lease length is just how often the app contacts the TurboFloat Server.