diff options
Diffstat (limited to 'cpp/demo/Ice/minimal/Server.cpp')
-rw-r--r-- | cpp/demo/Ice/minimal/Server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/Ice/minimal/Server.cpp b/cpp/demo/Ice/minimal/Server.cpp index 8cc289c9e7e..52ab57f9107 100644 --- a/cpp/demo/Ice/minimal/Server.cpp +++ b/cpp/demo/Ice/minimal/Server.cpp @@ -1,6 +1,6 @@ // ********************************************************************** // -// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved. +// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. @@ -20,7 +20,7 @@ main(int argc, char* argv[]) try { communicator = Ice::initialize(argc, argv); - Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapterWithEndpoints("Hello", "tcp -h localhost -p 10000"); + Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapterWithEndpoints("Hello", "default -h localhost -p 10000"); adapter->add(new HelloI, communicator->stringToIdentity("hello")); adapter->activate(); communicator->waitForShutdown(); |