Results 1 to 2 of 2

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

  1. #1
    Gravitas is offline Registered User
    Name: Shane Tolmie
    Organization: NeuralFutures LLC
    Project: Server modules in C++, C# and Java, to client.
    Join Date
    Feb 2011
    Posts
    40

    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.

  2. #2
    Gravitas is offline Registered User
    Name: Shane Tolmie
    Organization: NeuralFutures LLC
    Project: Server modules in C++, C# and Java, to client.
    Join Date
    Feb 2011
    Posts
    40
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 04-13-2010, 11:04 PM
  2. [ICEBOX] Pb registering more than 400 servers
    By carel_t in forum Help Center
    Replies: 3
    Last Post: 11-27-2008, 03:47 AM
  3. Shut down the Icepatch2 Server programmatically
    By Ewgenijkkg in forum Help Center
    Replies: 7
    Last Post: 06-14-2007, 08:45 PM
  4. how to shut down a node?
    By russule in forum Help Center
    Replies: 2
    Last Post: 01-08-2007, 04:13 AM
  5. Ice and existing sourcecode
    By Arnie in forum Help Center
    Replies: 1
    Last Post: 06-02-2006, 09:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •