Archived

This forum has been archived. Please start a new discussion on GitHub.

How do I check for existing icebox servers, to shut them down?

I'd like to know how to shut down all existing icebox servers on port 10000.

I'm using Windows 7 x64 and the latest version of ICE (v3.4.1).

The reason I ask is that that I was using the demo in "C:\Program Files (x86)\ZeroC\Ice-3.4.1\Ice-3.4.1-demos\democs\IceBox\hello", and it stopped working, and resumed working when I rebooted my machine.

The symptoms were that "client.exe" would **not** display a "server not found" error, even if I didn't have the server running (this implies that there was another rogue server hanging around in the background on port 10000). If I did run the client, it would just appear to hang. Rebooting my machine fixed the problem.

Comments

  • To fix this problem, I implemented a remote "shutdown" function which shuts the server down. The demo code has lots of examples of this in action.

    To shut any rogue server down, simply connect to it, and issue the shutdown command.