Hi,
This may be in the wrong forum, but I'll try here first.
We have an application that we want to extend to talk to a licence server.
The licence server should log how many clients are logged in and stop new log ons if they have run out of licences. In itself this seemed quite easy, I was going to log the username and IP address with some sort of session ID, that way if a client bombs out then tries to reconnect, the server will know it is the same user on the same machine and release the original (bombed out) client licence and issue a new one.
I think this would work quite well, except some of our clients use terminal server, so how would I connect to an individual terminal server session? The IP I have will connect to server machine, so I can't use a fixed port as only one machine will be able to listen on that port.
has anyone had a similar situation, and how did you go about it?
Matt
If you can keep your head while those around you are losing theirs, you obviously haven't grasped the seriousness of the situation
This may be in the wrong forum, but I'll try here first.
We have an application that we want to extend to talk to a licence server.
The licence server should log how many clients are logged in and stop new log ons if they have run out of licences. In itself this seemed quite easy, I was going to log the username and IP address with some sort of session ID, that way if a client bombs out then tries to reconnect, the server will know it is the same user on the same machine and release the original (bombed out) client licence and issue a new one.
I think this would work quite well, except some of our clients use terminal server, so how would I connect to an individual terminal server session? The IP I have will connect to server machine, so I can't use a fixed port as only one machine will be able to listen on that port.
has anyone had a similar situation, and how did you go about it?
Matt
If you can keep your head while those around you are losing theirs, you obviously haven't grasped the seriousness of the situation